CASH-57
Remove zip code matching condition causing zip code state validation
This commit is contained in:
parent
2a7f15df12
commit
2a97b02b04
1 changed files with 34 additions and 45 deletions
|
|
@ -241,10 +241,6 @@ export default {
|
||||||
this.displayMismatchStateAndZipAlert = false;
|
this.displayMismatchStateAndZipAlert = false;
|
||||||
},
|
},
|
||||||
async setMobileLocation() {
|
async setMobileLocation() {
|
||||||
if (
|
|
||||||
this.internalModel.addressQuestions.zipCode !==
|
|
||||||
this.modelValue.addressQuestions.zipCode
|
|
||||||
) {
|
|
||||||
this.resetAlerts();
|
this.resetAlerts();
|
||||||
// Validate the Zip Code
|
// Validate the Zip Code
|
||||||
const zipCodeData = await this.getZipCodeData(
|
const zipCodeData = await this.getZipCodeData(
|
||||||
|
|
@ -287,13 +283,6 @@ export default {
|
||||||
// update the page level model
|
// update the page level model
|
||||||
this.$emit("update:modelValue", this.internalModel);
|
this.$emit("update:modelValue", this.internalModel);
|
||||||
|
|
||||||
//Page advance to Schedule page
|
|
||||||
this.$emit("mobileLocationSelected");
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
// Update the page level model
|
|
||||||
this.$emit("update:modelValue", this.internalModel);
|
|
||||||
|
|
||||||
//Page advance to Schedule page
|
//Page advance to Schedule page
|
||||||
this.$emit("mobileLocationSelected");
|
this.$emit("mobileLocationSelected");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue