Merge pull request #2857 from Safelite/feature/CASH-1513

CASH-1513: Get selected timeslot when switching service type
This commit is contained in:
Chris 2025-09-19 11:21:24 -04:00 committed by GitHub
commit d4d18f7e46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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: {