From 7071a01a8d2f25fefcfa5c5da5b74448f91d1a19 Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Mon, 9 Mar 2026 12:58:36 -0400 Subject: [PATCH] CASH-2378 fix to keep background from appearing loaded until multi location popup has finished it's logic --- src/layouts/schedule/schedule.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 77f79f197..48126d371 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -487,6 +487,7 @@ export default { selectedMobileFirstAppointment: false, selectedMultiLocationAppointment: false, calendarLoadingStatus: "none", + isLoadingMultiLocationPopup: true, }; }, async beforeRouteEnter(to, from, next) { @@ -895,6 +896,10 @@ export default { : false; }, isMultiLocationModalOpen() { + // Only return false if we're done loading the popup + if (this.isLoadingMultiLocationPopup) { + return true; // Still loading, keep background hidden + } return this.selectableDatesMobile.days && this.selectableDatesInshop.days ? this.$refs.multiLocationModal?.getIsModalOpen() : false; @@ -2207,6 +2212,7 @@ export default { } } } + this.isLoadingMultiLocationPopup = false; }, async getFirstAvailableMobileApptByTOD(timeOfDay) {