From 82f340afe0433060604c3597cfeaa82ae2b371ff Mon Sep 17 00:00:00 2001 From: Chris Redelinghuys Date: Wed, 17 Sep 2025 10:57:05 -0400 Subject: [PATCH 1/2] CASH-1513: Fix for slots not appearing when switching between service types --- src/layouts/schedule/schedule.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 7d74b1d67..96a9aaba4 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -650,6 +650,13 @@ export default { } }, showTimeSlotQuestion() { + if ( + this.selectedDate && + this.selectedDate.includes("mobile") && + !this.isMobileSelected + ) { + this.updateSelectedDate(); + } return this.selectedDate && this.appointmentTypeFromAppointmentTypeQuestion; }, isMobileStaticRecalibrationApplicable() { @@ -1774,6 +1781,9 @@ export default { this.selectedDate = this.getSelectedDate(); this.setDisplayWaitList(); }, + updateSelectedDate() { + this.selectedDate = this.getSelectedDate(); + }, }, watch: { appointmentTypeFromAppointmentTypeQuestion: { From 874bae42ca994603f9d806adba745fcc5fe69fa0 Mon Sep 17 00:00:00 2001 From: Chris Redelinghuys Date: Wed, 17 Sep 2025 15:04:47 -0400 Subject: [PATCH 2/2] CASH-1513 --- src/layouts/schedule/schedule.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 96a9aaba4..b655ce938 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -650,14 +650,15 @@ export default { } }, showTimeSlotQuestion() { + var selectedDate = this.selectedDate; if ( this.selectedDate && this.selectedDate.includes("mobile") && !this.isMobileSelected ) { - this.updateSelectedDate(); + selectedDate = this.getSelectedDate(); } - return this.selectedDate && this.appointmentTypeFromAppointmentTypeQuestion; + return selectedDate && this.appointmentTypeFromAppointmentTypeQuestion; }, isMobileStaticRecalibrationApplicable() { return ( @@ -1781,9 +1782,6 @@ export default { this.selectedDate = this.getSelectedDate(); this.setDisplayWaitList(); }, - updateSelectedDate() { - this.selectedDate = this.getSelectedDate(); - }, }, watch: { appointmentTypeFromAppointmentTypeQuestion: {