Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Components/Notification.vue')
-rw-r--r--src/Components/Notification.vue4
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()
}