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

revert removal of choose_locale

parent 3686a172
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,13 @@ import TopBar from './components/TopBar.vue'
}
document.title = 'Ordbøkene - ' + process.env.VUE_APP_VERSION_LABEL
},
methods: {
choose_locale: function(locale) {
this.locale_chosen = true
this.$store.commit("setLocale", {value: locale, i18n: this._i18n})
}
},
components: {
TopBar
}
......
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