diff --git a/frontend/model/notifications/nativeNotification.js b/frontend/model/notifications/nativeNotification.js index 556c4e9ca..e9d6fcd45 100644 --- a/frontend/model/notifications/nativeNotification.js +++ b/frontend/model/notifications/nativeNotification.js @@ -116,10 +116,8 @@ export function makeNotification ({ title, body, icon, path }: { // If this is a PWA that's not open, display a notification // However, if it's not a PWA that's open, we don't use native notifications if ( - clientList.length !== 1 || self.location.query !== '?standalone=1' || - clientList[0].visibilityState !== 'hidden' || - clientList[0].focused + clientList.some(client => client.focused) ) { return }