diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 96a9aaba4..b655ce938 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -650,14 +650,15 @@ export default { } }, showTimeSlotQuestion() { + var selectedDate = this.selectedDate; if ( this.selectedDate && this.selectedDate.includes("mobile") && !this.isMobileSelected ) { - this.updateSelectedDate(); + selectedDate = this.getSelectedDate(); } - return this.selectedDate && this.appointmentTypeFromAppointmentTypeQuestion; + return selectedDate && this.appointmentTypeFromAppointmentTypeQuestion; }, isMobileStaticRecalibrationApplicable() { return ( @@ -1781,9 +1782,6 @@ export default { this.selectedDate = this.getSelectedDate(); this.setDisplayWaitList(); }, - updateSelectedDate() { - this.selectedDate = this.getSelectedDate(); - }, }, watch: { appointmentTypeFromAppointmentTypeQuestion: {