split translation language by source and dest

This commit is contained in:
FloatingGhost 2022-08-30 17:46:54 +01:00
parent 6440e51b7e
commit 7dc0464094
3 changed files with 3 additions and 3 deletions

View file

@ -84,7 +84,7 @@ const GeneralTab = {
}
},
translationLanguages () {
return (this.$store.getters.mergedConfig.supportedTranslationLanguages || []).map(lang => ({ key: lang.code, value: lang.code, label: lang.name }))
return (this.$store.getters.mergedConfig.supportedTranslationLanguages.target || []).map(lang => ({ key: lang.code, value: lang.code, label: lang.name }))
},
translationLanguage: {
get: function () { return this.$store.getters.mergedConfig.translationLanguage },