Fix storage in service worker
This commit is contained in:
parent
89346369e0
commit
087a7c6434
|
@ -25,7 +25,7 @@ function getWindowClients () {
|
|||
}
|
||||
|
||||
const setSettings = async () => {
|
||||
const vuexState = await localForage.getItem('vuex-lz')
|
||||
const vuexState = await storage.getItem('vuex-lz')
|
||||
const locale = vuexState.config.interfaceLanguage || 'en'
|
||||
i18n.locale = locale
|
||||
const notificationsNativeArray = Object.entries(vuexState.config.notificationNative)
|
||||
|
|
Loading…
Reference in a new issue