diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 948a7de19..e0edcd544 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -22,7 +22,6 @@ cmsWidgetName="ScheduleYourServiceWidget" id="schedule-your-service" /> 0; - } else { - return this.selectableDatesInshop?.days?.length > 0; - } - }, }, methods: { splitCopyOnCMSPlaceHolder, @@ -1751,8 +1743,8 @@ export default { } else { this.appointmentType = null; } - this.setSelectedDateToFirstAvailable(); // v-if on appointmentTypeQuestion ensures dates have been loaded by now - this.setDisplayWaitList(); // v-if on appointmentTypeQuestion ensures dates have been loaded by now + this.setSelectedDateToFirstAvailable(); + this.setDisplayWaitList(); }, setSelectedDateToFirstAvailable() { this.selectedDate = this.getFirstAvailableDate(); @@ -1884,7 +1876,7 @@ export default { watch: { appointmentTypeFromAppointmentTypeQuestion: { handler(newValue, oldValue) { - this.handleAppointmentTypeChange(newValue); // v-if on appointmentTypeQuestion ensures dates have been loaded by now + this.handleAppointmentTypeChange(newValue); }, }, },