Merge pull request #2857 from Safelite/feature/CASH-1513
CASH-1513: Get selected timeslot when switching service type
This commit is contained in:
commit
d4d18f7e46
1 changed files with 5 additions and 3 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue