CASH-1790 name change and bug fix for 2298

This commit is contained in:
Adam Caouette 2026-02-04 13:54:27 -05:00
parent d9bacc2336
commit 5202dbdff2

View file

@ -98,11 +98,11 @@
linkWidgetName="ServiceZipLinkWidget"
modalWidgetName="ServiceZipModalWidget" />
</div>
<div class="row your-shop-location" v-if="showInshopComponent">
<div class="row your-shop-location" v-if="showShopLocationComponent">
<div class="col-12 col-md-10 col-lg-8 col-xl-7">
<div>
<shopLocation
v-if="showInshopComponent"
v-if="showShopLocationComponent"
:selectedShop="selectedShopAnswer"
:selectedProviderNumberFromParent="selectedProvider?.providerNumber"
:shopProviderDataFromParent="shopProviderData"
@ -633,19 +633,18 @@ export default {
this.handleZipCodeChange(newValue);
},
},
showInshopComponent() {
showShopLocationComponent() {
// If we get no inshop or mobile data, then show the shoplocation component so the user is not
// looking at a half blank screen with no way to try another zip/location.
if (
(this.inshopTimeSlotsData === undefined &&
this.mobileTimeSlotsData === undefined) ||
(this.inshopTimeSlotsData.days.length === 0 &&
this.mobileTimeSlotsData.days.length === 0) ||
(this.selectableDatesInshop === undefined &&
this.selectableDatesMobile === undefined) ||
(this.selectableDatesInshop?.days?.length === 0 &&
this.selectableDatesMobile?.days?.length === 0) ||
(this.appointmentType && this.appointmentType !== AppointmentTypeStrings.MOBILE)
) {
return true;
}
return false;
},
isMobileSelected() {