CASH-1513: Get selected timeslot when switching service type
This commit is contained in:
parent
e4ae34d995
commit
528769aec1
1 changed files with 5 additions and 3 deletions
|
|
@ -650,15 +650,14 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
showTimeSlotQuestion() {
|
showTimeSlotQuestion() {
|
||||||
var selectedDate = this.selectedDate;
|
|
||||||
if (
|
if (
|
||||||
this.selectedDate &&
|
this.selectedDate &&
|
||||||
this.selectedDate.includes("mobile") &&
|
this.selectedDate.includes("mobile") &&
|
||||||
!this.isMobileSelected
|
!this.isMobileSelected
|
||||||
) {
|
) {
|
||||||
selectedDate = this.getSelectedDate();
|
this.getNewSelectedDate();
|
||||||
}
|
}
|
||||||
return selectedDate && this.appointmentTypeFromAppointmentTypeQuestion;
|
return this.selectedDate && this.appointmentTypeFromAppointmentTypeQuestion;
|
||||||
},
|
},
|
||||||
isMobileStaticRecalibrationApplicable() {
|
isMobileStaticRecalibrationApplicable() {
|
||||||
return (
|
return (
|
||||||
|
|
@ -1787,6 +1786,9 @@ export default {
|
||||||
this.selectedDate = this.getSelectedDate();
|
this.selectedDate = this.getSelectedDate();
|
||||||
this.setDisplayWaitList();
|
this.setDisplayWaitList();
|
||||||
},
|
},
|
||||||
|
getNewSelectedDate() {
|
||||||
|
this.selectedDate = this.getSelectedDate();
|
||||||
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
appointmentTypeFromAppointmentTypeQuestion: {
|
appointmentTypeFromAppointmentTypeQuestion: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue