diff options
author | Joas Schilling <coding@schilljs.com> | 2022-10-06 13:08:39 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-10-06 13:08:39 +0300 |
commit | 9360576552c4daeb6d56237c194ec5d4e4a20929 (patch) | |
tree | a0477ebc01007ddc2413926e788638a2f3441ec5 | |
parent | 21b0ae2be952445aa35d3150c5a0b8bfbc1f10c9 (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() |