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/App.vue')
-rw-r--r--src/App.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/App.vue b/src/App.vue
index 5628262..79d11ad 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -113,7 +113,7 @@ export default {
return this.backgroundFetching
&& this.webNotificationsGranted
&& this.userStatus !== 'dnd'
- && this.tabId !== this.lastTabId
+ && this.tabId === this.lastTabId
},
},
@@ -240,7 +240,7 @@ export default {
} else if (response.status === 200) {
this.userStatus = response.headers['x-nextcloud-user-status']
this.lastETag = response.headers.etag
- this.lastTabId = response.lastTabId
+ this.lastTabId = response.tabId
this.notifications = response.data
this._setPollingInterval(this.pollIntervalBase)
} else if (response.status === 304) {