diff --git a/routes/_store/observers/notificationPermissionObservers.js b/routes/_store/observers/notificationPermissionObservers.js index ad1275d6..26b0e40f 100644 --- a/routes/_store/observers/notificationPermissionObservers.js +++ b/routes/_store/observers/notificationPermissionObservers.js @@ -1,5 +1,5 @@ export function notificationPermissionObservers (store) { - if (!process.browser) { + if (!process.browser || !navigator.permissions || !navigator.permissions.query) { return }