fix: save product descriptions

This commit is contained in:
2026-04-01 16:19:02 +02:00
parent d8f71bd8ff
commit 79730eb826
4 changed files with 82 additions and 68 deletions

View File

@@ -1,5 +1,5 @@
import { createRouter, createWebHistory } from 'vue-router'
import { currentLang, langs } from './langs'
import { currentLang, langs, switchLocalization } from './langs'
import { getSettings } from './settings'
import { useAuthStore } from '@/stores/auth'
import { getRoutes } from './menu'
@@ -8,6 +8,7 @@ function isAuthenticated(): boolean {
if (typeof document === 'undefined') return false
return document.cookie.split('; ').some((c) => c === 'is_authenticated=1')
}
await switchLocalization()
await getSettings()
const routes = await getRoutes()