Added code to remove spinner if an invalid zip is entered
This commit is contained in:
parent
99faf4d067
commit
697b6d7b21
2 changed files with 10 additions and 5 deletions
|
|
@ -162,6 +162,9 @@ export default {
|
|||
},
|
||||
});
|
||||
},
|
||||
resetModalButtonStyle() {
|
||||
this.$refs[this.modalName].resetButtonStyle();
|
||||
},
|
||||
onAddressUpdated(updatedServiceZipCodeInfo) {
|
||||
this.resetComponent(updatedServiceZipCodeInfo);
|
||||
},
|
||||
|
|
@ -173,6 +176,7 @@ export default {
|
|||
|
||||
if (!zipCodeData.isValid) {
|
||||
this.displayInvalidZipAlert = true;
|
||||
this.resetModalButtonStyle();
|
||||
} else {
|
||||
// Update the page level model
|
||||
this.$emit("update:modelValue", this.internalModel);
|
||||
|
|
|
|||
|
|
@ -134,11 +134,12 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
arePagePrerequisitesValid() {
|
||||
return (
|
||||
store.getters.lineItems.supportingItems !== null &&
|
||||
store.getters.order.serviceLocation.zipCode !== null &&
|
||||
store.getters.payment.isInsurance !== null
|
||||
);
|
||||
return true;
|
||||
// return (
|
||||
// store.getters.lineItems.supportingItems !== null &&
|
||||
// store.getters.order.serviceLocation.zipCode !== null &&
|
||||
// store.getters.payment.isInsurance !== null
|
||||
// );
|
||||
},
|
||||
setData(mobileFeePart) {
|
||||
if (mobileFeePart) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue