CASH-1513: Fix for slots not appearing when switching between service types

This commit is contained in:
Chris Redelinghuys 2025-09-17 10:57:05 -04:00
parent 1b3d4b1a10
commit 82f340afe0

View file

@ -650,6 +650,13 @@ export default {
} }
}, },
showTimeSlotQuestion() { showTimeSlotQuestion() {
if (
this.selectedDate &&
this.selectedDate.includes("mobile") &&
!this.isMobileSelected
) {
this.updateSelectedDate();
}
return this.selectedDate && this.appointmentTypeFromAppointmentTypeQuestion; return this.selectedDate && this.appointmentTypeFromAppointmentTypeQuestion;
}, },
isMobileStaticRecalibrationApplicable() { isMobileStaticRecalibrationApplicable() {
@ -1774,6 +1781,9 @@ export default {
this.selectedDate = this.getSelectedDate(); this.selectedDate = this.getSelectedDate();
this.setDisplayWaitList(); this.setDisplayWaitList();
}, },
updateSelectedDate() {
this.selectedDate = this.getSelectedDate();
},
}, },
watch: { watch: {
appointmentTypeFromAppointmentTypeQuestion: { appointmentTypeFromAppointmentTypeQuestion: {