mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-26 23:12:01 +02:00
Fix auto-saved settings not applied
This commit is contained in:
parent
dc5a6082ae
commit
64376b137e
@ -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
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user