Merge pull request #3091 from Safelite/feature/CASH-2378

CASH-2378
This commit is contained in:
AdamCaouetteSafelite 2026-03-09 13:12:36 -04:00 committed by GitHub
commit 4b52ede22d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {