Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix multi-tab usage with notify_push
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Oct 6, 2022
commit 9360576552c4daeb6d56237c194ec5d4e4a20929
2 changes: 1 addition & 1 deletion src/NotificationsApp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down