use supported languages from service
This commit is contained in:
parent
59eb434840
commit
ef50c63dc7
7 changed files with 31 additions and 10 deletions
|
@ -83,6 +83,9 @@ const GeneralTab = {
|
|||
this.$store.dispatch('setOption', { name: 'interfaceLanguage', value: val })
|
||||
}
|
||||
},
|
||||
translationLanguages () {
|
||||
return (this.$store.getters.mergedConfig.supportedTranslationLanguages || []).map(lang => ({ key: lang.code, value: lang.code, label: lang.name }))
|
||||
},
|
||||
translationLanguage: {
|
||||
get: function () { return this.$store.getters.mergedConfig.translationLanguage },
|
||||
set: function (val) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue