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:
authorJoas Schilling <coding@schilljs.com>2022-10-06 13:08:39 +0300
committerJoas Schilling <coding@schilljs.com>2022-10-10 16:00:19 +0300
commit7222b8769380051ee11eea34c4e987e21fa7163b (patch)
tree7086f3cadb9302b980c7e7791fa5a21588130808
parentb3eff02eaf36fa38d08f330ab3469c4f6492eb75 (diff)
Fix multi-tab usage with notify_push
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--src/NotificationsApp.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NotificationsApp.vue b/src/NotificationsApp.vue
index 4d7a49a..6200052 100644
--- a/src/NotificationsApp.vue
+++ b/src/NotificationsApp.vue
@@ -336,7 +336,7 @@ export default {
*/
_fetchAfterNotifyPush() {
this.backgroundFetching = true
- if (this.notifyPush && this.tabId !== this.lastTabId) {
+ if (this.hasNotifyPush && this.tabId !== this.lastTabId) {
console.debug('Deferring notification refresh from browser storage are notify_push event to give the last tab the chance to do it')
setTimeout(() => {
this._fetch()