diff --git a/src/views/mobile/Signup.vue b/src/views/mobile/Signup.vue index 278c5a44..8f7abbf6 100644 --- a/src/views/mobile/Signup.vue +++ b/src/views/mobile/Signup.vue @@ -228,12 +228,17 @@ export default { }, set: function (value) { const isCurrencyDefault = this.user.defaultCurrency === this.$t('default.currency'); + const isFirstWeekDayDefault = this.user.firstDayOfWeek === (this.$constants.datetime.allWeekDays[this.$t('default.firstDayOfWeek')] ? this.$constants.datetime.allWeekDays[this.$t('default.firstDayOfWeek')].type : 0); this.$locale.setLanguage(value); if (isCurrencyDefault) { this.user.defaultCurrency = this.$t('default.currency'); } + + if (isFirstWeekDayDefault) { + this.user.firstDayOfWeek = this.$constants.datetime.allWeekDays[this.$t('default.firstDayOfWeek')] ? this.$constants.datetime.allWeekDays[this.$t('default.firstDayOfWeek')].type : 0; + } } }, inputIsEmpty() {