Merge pull request #3390 from h3poteto/iss-3389
refs #3389 Fix i18next when application is loaded
This commit is contained in:
commit
604e00110f
|
@ -34,7 +34,7 @@ export default {
|
|||
created() {
|
||||
this.$store.dispatch('App/watchShortcutEvents')
|
||||
this.$store.dispatch('App/loadPreferences').then(conf => {
|
||||
this.$i18n.locale = conf.language.language
|
||||
this.$i18n.changeLanguage(conf.language.language)
|
||||
})
|
||||
},
|
||||
unmounted() {
|
||||
|
|
Loading…
Reference in New Issue