mirror of
https://git.pleroma.social/sjw/pleroma-fe.git
synced 2024-12-22 14:40:04 +01:00
fix language switcher
This commit is contained in:
parent
da5df6e684
commit
d728fea3b1
@ -78,7 +78,6 @@ export default {
|
||||
},
|
||||
set: function (val) {
|
||||
this.setLanguage(val)
|
||||
this.$emit('update:modelValue', val)
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -75,6 +75,12 @@ const GeneralTab = {
|
||||
label: this.$t(`post_status.content_type["${format}"]`)
|
||||
}))
|
||||
},
|
||||
language: {
|
||||
get: function () { return this.$store.getters.mergedConfig.interfaceLanguage },
|
||||
set: function (val) {
|
||||
this.$store.dispatch('setOption', { name: 'interfaceLanguage', value: val })
|
||||
}
|
||||
},
|
||||
...SharedComputedObject()
|
||||
},
|
||||
methods: {
|
||||
|
Loading…
Reference in New Issue
Block a user