diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 5ac9d3278..b2ca5ee7f 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -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: {