Merge pull request #2739 from Safelite/feature/CASH-1292

Feature/CASH-1292
This commit is contained in:
Chris 2025-08-07 09:14:18 -04:00 committed by GitHub
commit 7d10714ff5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -214,14 +214,19 @@ export default {
);
// update content related to service zip code
this.$emit("updated-mobile-fee-part", mobileFeePart);
this.$emit("updated-recycle-fee-part", recycleFeePart);
this.$emit("updated-serviceability", serviceabilityDetails.data);
this.$emit("updated-contains-military-base", zipCodeData.containsMilitaryBase);
this.$emit("updated-bill-to-account-number", billToAccountNumber);
this.$emit("service-zip-changed-from-modal");
// update the page level model
this.$emit("update:modelValue", this.internalModel);
if (this.internalModel.zipCode !== this.modelValue.zipCode) {
this.$emit("updated-mobile-fee-part", mobileFeePart);
this.$emit("updated-recycle-fee-part", recycleFeePart);
this.$emit("updated-serviceability", serviceabilityDetails.data);
this.$emit(
"updated-contains-military-base",
zipCodeData.containsMilitaryBase
);
this.$emit("updated-bill-to-account-number", billToAccountNumber);
this.$emit("service-zip-changed-from-modal");
// update the page level model
this.$emit("update:modelValue", this.internalModel);
}
this.closeModal();
}