diff --git a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue index 36efad975..9304db190 100644 --- a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue +++ b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue @@ -235,7 +235,6 @@ export default { this.displayMismatchStateAndZipAlert = false; }, async setMobileLocation() { - this.resetAlerts(); // Validate the Zip Code if ( this.internalModel.addressQuestions.zipCode === "" || @@ -250,10 +249,12 @@ export default { ); if (!zipCodeData.isValid) { + this.displayMismatchStateAndZipAlert = false; this.displayInvalidZipAlert = true; this.setMobileLocationInvalid(true); return; } else if (zipCodeData.state != this.internalModel.addressQuestions.state) { + this.displayInvalidZipAlert = false; this.displayMismatchStateAndZipAlert = true; this.setMobileLocationInvalid(true); return; @@ -261,6 +262,9 @@ export default { this.internalModel.addressQuestions.zipCode !== this.modelValue.addressQuestions.zipCode ) { + //reset alerts + this.resetAlerts(); + // retrieve mobile fee part const serviceZipCode = this.internalModel.addressQuestions.zipCode; const mobileFeePart = await getPricedMobileFeePart( diff --git a/src/layouts/service-location/mobile-location-modal-questions/vehicle-protected-question/vehicle-protected-question.vue b/src/layouts/service-location/mobile-location-modal-questions/vehicle-protected-question/vehicle-protected-question.vue index ce0f7ed53..b13f72ca9 100644 --- a/src/layouts/service-location/mobile-location-modal-questions/vehicle-protected-question/vehicle-protected-question.vue +++ b/src/layouts/service-location/mobile-location-modal-questions/vehicle-protected-question/vehicle-protected-question.vue @@ -57,7 +57,7 @@ export default {