From 8e6691418bfec4f0c5fd8f8457de5fa6795c0e74 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Mon, 2 Feb 2026 13:05:35 -0500 Subject: [PATCH] some integration updates --- src/layouts/schedule-page/schedule-page.vue | 22 ++++++++++--------- .../service-location/service-location.vue | 11 +++++----- .../service-zip-question.vue | 4 +++- .../shop-address/shop-address.vue | 3 ++- 4 files changed, 23 insertions(+), 17 deletions(-) diff --git a/src/layouts/schedule-page/schedule-page.vue b/src/layouts/schedule-page/schedule-page.vue index 6da0f1d1..b0e8e612 100644 --- a/src/layouts/schedule-page/schedule-page.vue +++ b/src/layouts/schedule-page/schedule-page.vue @@ -186,10 +186,12 @@ const getAvailableDates = async ( }); } - timeSlotsResponsesData.estimatedServiceMinutesMinimum = - timeSlotsResponse.data.estimatedServiceMinutesMinimum; - timeSlotsResponsesData.estimatedServiceMinutesMaximum = - timeSlotsResponse.data.estimatedServiceMinutesMaximum; + if (!timeSlotsResponse || !timeSlotsResponse.data) { + return; + } + + timeSlotsResponsesData.estimatedServiceMinutesMinimum = timeSlotsResponse.data.estimatedServiceMinutesMinimum; + timeSlotsResponsesData.estimatedServiceMinutesMaximum = timeSlotsResponse.data.estimatedServiceMinutesMaximum; timeSlotsResponsesData.days = [ ...timeSlotsResponsesData.days, ...timeSlotsResponse.data.days @@ -350,6 +352,12 @@ export default { const hasTimeSlotSelected = this.selectedTimeSlotInfo?.timeSlot?.routeCode != null; return hasTimeSlotSelected; }, + navigateBackScenario() { + const { isNoComp, isITAC } = useMainStore(); + return isNoComp || isITAC + ? this.navigationScenarios.CLICKED_BACK_CANNOT_REACH_TPA_FLOW + : this.navigationScenarios.CLICKED_BACK_CAN_REACH_TPA_FLOW; + }, supportingItems() { return useMainStore().lineItems.supportingItems; } @@ -592,12 +600,6 @@ export default { } } }, - navigateBackScenario() { - const { isNoComp, isITAC } = useMainStore(); - return isNoComp || isITAC - ? this.navigationScenarios.CLICKED_BACK_CANNOT_REACH_TPA_FLOW - : this.navigationScenarios.CLICKED_BACK_CAN_REACH_TPA_FLOW; - }, providerChangedFromServiceLocation(newProvider) { this.selectedProvider = newProvider?.provider; diff --git a/src/layouts/schedule-page/service-location/service-location.vue b/src/layouts/schedule-page/service-location/service-location.vue index 1964d111..92312f35 100644 --- a/src/layouts/schedule-page/service-location/service-location.vue +++ b/src/layouts/schedule-page/service-location/service-location.vue @@ -62,7 +62,7 @@ v-if="selectedProvider === null" ref="alertNoAvailableShops" cmsWidgetName="AlertNoAvailableShopsWidget" - :isCollapsible="true" + :isCollapsible="false" alertClass="alert-danger" />