Fix: Poll Interval

This commit is contained in:
ogerly 2019-11-01 12:11:54 +01:00
parent 805415a13a
commit 4cb46b6178

View File

@ -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))