Move country update back out of if check
This commit is contained in:
parent
d480b9113f
commit
3bb7be9ddb
|
@ -652,8 +652,8 @@ export default Vue.extend({
|
||||||
|
|
||||||
this.currentLocale = this.$i18n.locale
|
this.currentLocale = this.$i18n.locale
|
||||||
this.currentGeoLocation = this.$i18n.geoLocation
|
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'
|
this.currentGeoLocation = 'us'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue