Fix auto-saved settings not applied

This commit is contained in:
Bubka 2020-02-28 22:21:48 +01:00
parent dc5a6082ae
commit 64376b137e

View File

@ -42,9 +42,12 @@
if(response.data.settings.lang !== this.$root.$i18n.locale) { if(response.data.settings.lang !== this.$root.$i18n.locale) {
this.$router.go() this.$router.go()
} }
else {
appSettings = response.data.settings
}
}) })
.catch(error => { .catch(error => {
this.fail = error.response.data.message this.fail = error.response.data.message
}); });
} }