diff --git a/src/sw.js b/src/sw.js index 38a2fe7b2..3e22cca68 100644 --- a/src/sw.js +++ b/src/sw.js @@ -39,7 +39,7 @@ const setSettings = async () => { const locale = vuexState.config.interfaceLanguage || 'en' i18n.locale = locale const notificationsNativeArray = Object.entries( - vuexState.config.notificationNative, + vuexState.config.notificationNative || {}, ) state.webPushAlwaysShowNotifications = vuexState.config.webPushAlwaysShowNotifications