CASH-1513: Get selected timeslot when switching service type

This commit is contained in:
Chris Redelinghuys 2025-09-19 11:01:31 -04:00
parent e4ae34d995
commit 528769aec1

View file

@ -650,15 +650,14 @@ export default {
}
},
showTimeSlotQuestion() {
var selectedDate = this.selectedDate;
if (
this.selectedDate &&
this.selectedDate.includes("mobile") &&
!this.isMobileSelected
) {
selectedDate = this.getSelectedDate();
this.getNewSelectedDate();
}
return selectedDate && this.appointmentTypeFromAppointmentTypeQuestion;
return this.selectedDate && this.appointmentTypeFromAppointmentTypeQuestion;
},
isMobileStaticRecalibrationApplicable() {
return (
@ -1787,6 +1786,9 @@ export default {
this.selectedDate = this.getSelectedDate();
this.setDisplayWaitList();
},
getNewSelectedDate() {
this.selectedDate = this.getSelectedDate();
},
},
watch: {
appointmentTypeFromAppointmentTypeQuestion: {