diff --git a/web/push-notif/push-notifs-handler.js b/web/push-notif/push-notifs-handler.js --- a/web/push-notif/push-notifs-handler.js +++ b/web/push-notif/push-notifs-handler.js @@ -102,7 +102,7 @@ } const workerRegistration = await navigator.serviceWorker?.ready; - if (!workerRegistration) { + if (!workerRegistration || !workerRegistration.pushManager) { return; }