forked from AkkomaGang/akkoma-fe
parent
837c61569a
commit
8713f1870f
1 changed files with 2 additions and 2 deletions
|
@ -105,8 +105,8 @@ const GeneralTab = {
|
||||||
return this.$store.getters.mergedConfig.profileVersion
|
return this.$store.getters.mergedConfig.profileVersion
|
||||||
},
|
},
|
||||||
translationLanguages () {
|
translationLanguages () {
|
||||||
const langs = this.$store.state.instance.translationLanguages || []
|
const langs = this.$store.state.instance.supportedTranslationLanguages || { source: [] }
|
||||||
return (langs || []).map(lang => ({ key: lang.code, value: lang.code, label: lang.name }))
|
return langs.source.map(lang => ({ key: lang.code, value: lang.code, label: lang.name }))
|
||||||
},
|
},
|
||||||
translationLanguage: {
|
translationLanguage: {
|
||||||
get: function () { return this.$store.getters.mergedConfig.translationLanguage },
|
get: function () { return this.$store.getters.mergedConfig.translationLanguage },
|
||||||
|
|
Loading…
Reference in a new issue