Skip to content
Snippets Groups Projects
Commit b0c757ab authored by Henrik Askjer's avatar Henrik Askjer
Browse files

refactor

parent a10b2912
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ export default {
},
computed: {
updateLocale: {
get () { return {text: this.localesMap[this.$store.state.currentLocale], value: this.$store.state.currentLocale}},
get () { return this.$store.state.currentLocale},
set(value) {
this.$store.commit("setLocale", {value: value, i18n: this._i18n})
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment