undo sw changes

This commit is contained in:
Henry Jameson 2026-01-28 23:22:12 +02:00
commit f1a96ec639

View file

@ -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,