From 4cb46b617862b99d631a88108d73bfb9cd23ec13 Mon Sep 17 00:00:00 2001 From: ogerly Date: Fri, 1 Nov 2019 12:11:54 +0100 Subject: [PATCH] Fix: Poll Interval --- .../notifications/NotificationMenu/NotificationMenu.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webapp/components/notifications/NotificationMenu/NotificationMenu.vue b/webapp/components/notifications/NotificationMenu/NotificationMenu.vue index 26d8256bd..04642e1e4 100644 --- a/webapp/components/notifications/NotificationMenu/NotificationMenu.vue +++ b/webapp/components/notifications/NotificationMenu/NotificationMenu.vue @@ -78,9 +78,7 @@ export default { query() { return notificationQuery(this.$i18n) }, - pollInterval() { - return NOTIFICATIONS_POLL_INTERVAL - }, + pollInterval: NOTIFICATIONS_POLL_INTERVAL, update(data) { const newNotifications = data.notifications.filter(newN => { return !this.displayedNotifications.find(oldN => this.equalNotification(newN, oldN))