Fix i18n styles (#8)
This commit is contained in:
1 parent
7b292b104c
commit
c300500135
23 files changed
+3222
-432
No files matched your search
+1
-1
@@ -32,7 +32,7 @@ const router = createRouter({
|
||||
});
|
||||
|
||||
router.beforeEach(async (to, from, next) => {
|
||||
const locale = store.getters.locale || DEFAULT_LOCALE;
|
||||
const locale = store.state.locale || DEFAULT_LOCALE;
|
||||
await setI18nLanguage(locale);
|
||||
return next();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user