diff --git a/src/layouts/schedule/multi-location-modal/multi-location-modal.vue b/src/layouts/schedule/multi-location-modal/multi-location-modal.vue index 78dbe6ba5..3ca0693a8 100644 --- a/src/layouts/schedule/multi-location-modal/multi-location-modal.vue +++ b/src/layouts/schedule/multi-location-modal/multi-location-modal.vue @@ -90,14 +90,13 @@ export default { }, onModalClosed() { this.pushEvent(); - this.$emit("close-mobile-first-modal"); this.confirmedAppointment = false; }, closeModal() { this.modal.closeModal(); }, confirmAppointment() { - if (!this.selectedAppointment) return; + if (!this.selectedAppointment.timeSlot.id) return; const selectedTimeSlot = { timeSlot: this.selectedAppointment.timeSlot, diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index dbdaaa90f..f4a9c09ac 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -2152,7 +2152,7 @@ export default { (firstInshopPMDate && numberOfDaysToFirstInshopPMDate <= maxDayRangeToShowAnyTimeslot); - if (showMultiLocationAppointment) { + if (showMultiLocationAppointment?.toLowerCase() === "true") { return isMobileAppointmentInDateRange && isInshopAppointmentInDateRange; } return false;