diff options
Diffstat (limited to 'src/Components/Notification.vue')
-rw-r--r-- | src/Components/Notification.vue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Components/Notification.vue b/src/Components/Notification.vue index 8dfa688..d40b07c 100644 --- a/src/Components/Notification.vue +++ b/src/Components/Notification.vue @@ -209,6 +209,10 @@ export default { this._$el = $(this.$el) // Parents: TransitionGroup > NotificationsList + if (typeof this.$parent.$parent.showBrowserNotifications === 'undefined') { + console.error('Failed to read showBrowserNotifications property from App component') + } + if (this.$parent.$parent.showBrowserNotifications) { this._createWebNotification() } |