diff --git a/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.vue b/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.vue index 2a9a32140..cdcba989a 100644 --- a/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.vue +++ b/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.vue @@ -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(); }