Move country update back out of if check

This commit is contained in:
Luca 2020-10-22 18:24:05 +02:00
parent d480b9113f
commit 3bb7be9ddb
1 changed files with 2 additions and 2 deletions

View File

@ -652,8 +652,8 @@ export default Vue.extend({
this.currentLocale = this.$i18n.locale
this.currentGeoLocation = this.$i18n.geoLocation
if (this.currentGeoLocation === undefined) {
this.updateGeoLocationNames(this.currentLocale)
this.updateGeoLocationNames(this.currentLocale)
if (this.currentGeoLocation === undefined || this.currentGeoLocation === null) {
this.currentGeoLocation = 'us'
}
},