Fix storage in service worker

This commit is contained in:
tusooa 2024-05-24 21:25:04 -04:00
parent 89346369e0
commit 087a7c6434
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51

View file

@ -25,7 +25,7 @@ function getWindowClients () {
} }
const setSettings = async () => { const setSettings = async () => {
const vuexState = await localForage.getItem('vuex-lz') const vuexState = await storage.getItem('vuex-lz')
const locale = vuexState.config.interfaceLanguage || 'en' const locale = vuexState.config.interfaceLanguage || 'en'
i18n.locale = locale i18n.locale = locale
const notificationsNativeArray = Object.entries(vuexState.config.notificationNative) const notificationsNativeArray = Object.entries(vuexState.config.notificationNative)