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