undo sw changes
This commit is contained in:
parent
384531c108
commit
f1a96ec639
1 changed files with 1 additions and 5 deletions
|
|
@ -4,9 +4,6 @@ import 'virtual:pleroma-fe/service_worker_env'
|
|||
|
||||
import { createI18n } from 'vue-i18n'
|
||||
|
||||
import { useInstanceStore } from 'src/stores/instance.js'
|
||||
import { useSyncConfigStore } from 'src/stores/sync_config.js'
|
||||
|
||||
import { storage } from 'src/lib/storage.js'
|
||||
import { parseNotification } from 'src/services/entity_normalizer/entity_normalizer.service.js'
|
||||
import { prepareNotificationObject } from 'src/services/notification_utils/notification_utils.js'
|
||||
|
|
@ -38,8 +35,7 @@ function getWindowClients() {
|
|||
|
||||
const setSettings = async () => {
|
||||
const vuexState = await storage.getItem('vuex-lz')
|
||||
const locale = useSyncConfigStore().mergedConfig.interfaceLanguage || 'en'
|
||||
console.log('LOCALE', locale)
|
||||
const locale = vuexState.config.interfaceLanguage || 'en'
|
||||
i18n.locale = locale
|
||||
const notificationsNativeArray = Object.entries(
|
||||
vuexState.config.notificationNative,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue