Fix storage in service worker
This commit is contained in:
parent
89346369e0
commit
087a7c6434
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue