From 0c3515cef19577db982292feb0d913074b5ecf02 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Wed, 25 Feb 2026 15:04:26 -0500 Subject: [PATCH 1/3] fix for unservicable. --- .../service-location/service-location.vue | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/src/layouts/schedule-page/service-location/service-location.vue b/src/layouts/schedule-page/service-location/service-location.vue index d5559a95..835c1636 100644 --- a/src/layouts/schedule-page/service-location/service-location.vue +++ b/src/layouts/schedule-page/service-location/service-location.vue @@ -449,14 +449,19 @@ export default { async processMobileZipCodeChange() { showIssLoadingModal(true); await this.updateMobileZip(); - const updateMobileZipServiceLocationObj = { - mobileProviderNumber: this.mobileProviderNumber, - provider: null, - refreshDatePicker: true, - zipCode: this.zipCode, - zipCodeCtu: this.zipCodeCtu - }; - this.$emit('mobile-zip-updated', updateMobileZipServiceLocationObj); + + if (!this.mobileZipError) { + const updateMobileZipServiceLocationObj = { + mobileProviderNumber: this.mobileProviderNumber, + provider: null, + refreshDatePicker: true, + zipCode: this.zipCode, + zipCodeCtu: this.zipCodeCtu + }; + this.$emit('mobile-zip-updated', updateMobileZipServiceLocationObj); + } else { + showIssLoadingModal(false); + } }, setCtuForMobile(val) { this.zipCodeCtu = val; From e1a8f8a00ca63a5a73a91a2eb30250da22f4945d Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Wed, 25 Feb 2026 15:59:16 -0500 Subject: [PATCH 2/3] clear mobile data if invalid zip entered --- src/iss-components/google-map/google-map.vue | 4 +++- src/layouts/schedule-page/schedule-page.vue | 9 +++++++++ .../schedule-page/service-location/service-location.vue | 3 ++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/iss-components/google-map/google-map.vue b/src/iss-components/google-map/google-map.vue index cf07efe7..ea71a8f9 100644 --- a/src/iss-components/google-map/google-map.vue +++ b/src/iss-components/google-map/google-map.vue @@ -29,7 +29,9 @@ export default { } }, async beforeMount() { - await this.createMapWithMarkersForAddresses(this.markers); + if (this.markers && this.markers.length > 0) { + await this.createMapWithMarkersForAddresses(this.markers); + } }, methods: { async getMap(center) { diff --git a/src/layouts/schedule-page/schedule-page.vue b/src/layouts/schedule-page/schedule-page.vue index 590b319c..db90a0eb 100644 --- a/src/layouts/schedule-page/schedule-page.vue +++ b/src/layouts/schedule-page/schedule-page.vue @@ -20,6 +20,7 @@ :schedulingInshopAvailabilityRating="inShopAvailabilityRating" @appointmentTypeChanged="appointmentTypeChangedFromServiceLocation" @cityUpdated="cityUpdatedFromServiceLocation" + @clearMobileData="clearMobileDataFromServiceLocation" @inShopZipUpdated="inShopZipUpdatedFromServiceLocation" @mobileZipUpdated="mobileZipUpdatedFromServiceLocation" @providerChanged="providerChangedFromServiceLocation" /> @@ -469,6 +470,14 @@ export default { cityUpdatedFromServiceLocation(newCity) { this.selectedServiceLocationCity = newCity; }, + clearMobileDataFromServiceLocation() { + if (this.selectedServiceLocation) { + this.selectedServiceLocation.mobileProviderNumber = null; + } + this.mobileDatesData = []; + this.mobileProviderNumber = null; + this.selectedMobileZipCode = null; + }, dateSelectedFromPicker(date) { this.selectedDate = date; this.showDatePickerError = false; diff --git a/src/layouts/schedule-page/service-location/service-location.vue b/src/layouts/schedule-page/service-location/service-location.vue index 835c1636..0af2fc9e 100644 --- a/src/layouts/schedule-page/service-location/service-location.vue +++ b/src/layouts/schedule-page/service-location/service-location.vue @@ -158,7 +158,7 @@ export default { serviceZipQuestion }, mixins: [baseFormMixin], - emits: ['appointment-type-changed', 'city-updated', 'in-shop-zip-updated', 'mobile-zip-updated', 'provider-changed'], + emits: ['appointment-type-changed', 'city-updated', 'clear-mobile-data', 'in-shop-zip-updated', 'mobile-zip-updated', 'provider-changed'], props: { schedulingInshopAvailabilityRating: { type: String, @@ -460,6 +460,7 @@ export default { }; this.$emit('mobile-zip-updated', updateMobileZipServiceLocationObj); } else { + this.$emit('clear-mobile-data'); showIssLoadingModal(false); } }, From 836e383b46de049206b3449c835572b35c25b9e1 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Wed, 25 Feb 2026 16:07:00 -0500 Subject: [PATCH 3/3] handle a weird quick click. --- src/iss-components/google-map/google-map.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/iss-components/google-map/google-map.vue b/src/iss-components/google-map/google-map.vue index ea71a8f9..273c382c 100644 --- a/src/iss-components/google-map/google-map.vue +++ b/src/iss-components/google-map/google-map.vue @@ -29,9 +29,10 @@ export default { } }, async beforeMount() { - if (this.markers && this.markers.length > 0) { - await this.createMapWithMarkersForAddresses(this.markers); - } + await this.createMapWithMarkersForAddresses(this.markers) + .catch(() => { + console.error('Error creating map with markers: if handled jest fails to run tests'); + }); }, methods: { async getMap(center) {