mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-02 20:15:24 +02:00
add missing }
This commit is contained in:
parent
1c83cd55bb
commit
dc0775602c
1 changed files with 7 additions and 6 deletions
|
@ -35,9 +35,10 @@ const state = {
|
|||
name: "German",
|
||||
value: "de",
|
||||
},
|
||||
{
|
||||
name: "Português",
|
||||
value: "pt-PT"
|
||||
{
|
||||
name: "Português",
|
||||
value: "pt-PT",
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
|
@ -51,13 +52,13 @@ const mutations = {
|
|||
const actions = {
|
||||
initLang({ getters }, { currentVueComponent }) {
|
||||
VueI18n.locale = getters.getActiveLang;
|
||||
currentVueComponent.$vuetify.lang.current = getters.getActiveLang;
|
||||
currentVueComponent.$vuetify.lang.current = getters.getActiveLang;
|
||||
},
|
||||
};
|
||||
|
||||
const getters = {
|
||||
getActiveLang: (state) => state.lang,
|
||||
getAllLangs: (state) => state.allLangs,
|
||||
getActiveLang: state => state.lang,
|
||||
getAllLangs: state => state.allLangs,
|
||||
};
|
||||
|
||||
export default {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue