Implements UI editor form for appConfig

This commit is contained in:
Alicia Sykes
2021-10-23 19:28:08 +01:00
parent e6f3cae63d
commit 89737ffa5d
5 changed files with 156 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ export default {
/* The ISO code for the users language, synced with VueX store */
savedLanguage: {
get() {
return this.getIsoFromLangObj(this.$store.state.lang);
return this.getIsoFromLangObj(this.$store.getters.appConfig.lang);
},
set(newLang) {
this.$store.commit(Keys.SET_LANGUAGE, newLang.code);