fix: save product descriptions
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user