diff options
author | Joas Schilling <coding@schilljs.com> | 2022-10-06 13:08:39 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-10-10 16:00:19 +0300 |
commit | 7222b8769380051ee11eea34c4e987e21fa7163b (patch) | |
tree | 7086f3cadb9302b980c7e7791fa5a21588130808 | |
parent | b3eff02eaf36fa38d08f330ab3469c4f6492eb75 (diff) |
Fix multi-tab usage with notify_push
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | src/NotificationsApp.vue | 2 |
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() |