From 6d1a5bf12d63c0247d4db2e251f1137973a69b18 Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Mon, 1 Dec 2025 11:15:45 -0500 Subject: [PATCH] Revert "Merge pull request #2957 from Safelite/feature/CASH-1790" This reverts commit 1d3b49b49bd7b79ed61b74acd347a49e53266ed1, reversing changes made to 95c114e7f858dcd92b2af0904bdb44d89823fda6. --- src/layouts/schedule/schedule.vue | 31 ++++++++++++++----- .../time-slot-question/time-slot-question.vue | 18 +++-------- 2 files changed, 28 insertions(+), 21 deletions(-) diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index f08038f2b..246ce2986 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -167,7 +167,6 @@ :timeSlotsForSelectedDate="timeSlotsForSelectedDate" :isSameDay="isSameDay" :selectedRouteCodeData="selectedRouteCodeData" - :isDatePickerDoneInitializing="isDatePickerDoneInitializing" @waitListRequested="handleWaitListRequested" />
@@ -137,7 +133,6 @@ export default { isSameDay: Boolean, displayWaitList: Boolean, selectedRouteCodeData: Object, - isDatePickerDoneInitializing: Boolean, }, data() { return { @@ -191,9 +186,6 @@ export default { this.updateDropoffAndTimeSlotAnswersFromSelectedRouteCodeData(newValue); }, timeSlotsForSelectedDate() { - if (!this.isDatePickerDoneInitializing) { - return; - } // needed otherwise it nulls these too early and prevents a previously selected time slot from auto-selecting this.selectedAnswerForDropOffOrInshop = null; this.selectedAnswerForTimeSlots = null; this.autoSelectTimeSlotIfOnlyOneIsAvailable(); @@ -397,7 +389,7 @@ export default { this.answersForDropOffQuestion[0].value !== PICK_A_TIME_BUTTON_VALUE ); }, - displayTimeSlotQuestion() { + shouldDisplayTimeSlotQuestion() { return ( this.selectedAnswerForDropOffOrInshop == PICK_A_TIME_BUTTON_VALUE || !this.isDropOffAppointmentAvailable