- Fix: choose language : added flags

This commit is contained in:
Paolo Arena
2019-02-16 02:01:17 +01:00
parent ffe3fce52b
commit ea18c4e5b9
14 changed files with 226 additions and 54 deletions

View File

@@ -52,6 +52,10 @@ export default class App extends Vue {
UserStore.actions.autologin_FromLocalStorage()
.then((loadstorage) => {
if (loadstorage) {
this.$i18n.locale = UserStore.state.lang // Set Lang
console.log('lang CARICATO:', this.$i18n.locale)
globalroutines(this, 'loadapp', '')
// this.$router.replace('/')