this.$i18n.set(this.user.locale || 'en')
This commit is contained in:
Alexander Friedland 2019-11-07 11:42:58 +01:00 committed by GitHub
parent fea0b60c2d
commit 826924ad7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ export default {
},
methods: {
handleSuccess() {
this.$i18n.set(this.user.locale)
this.$i18n.set(this.user.locale || 'en')
this.$router.replace(this.$route.query.path || '/')
},
},