CASH-2194
CASH-2194 prettier
This commit is contained in:
parent
b99e8c4b35
commit
722260d404
1 changed files with 9 additions and 7 deletions
|
|
@ -98,9 +98,7 @@
|
|||
linkWidgetName="ServiceZipLinkWidget"
|
||||
modalWidgetName="ServiceZipModalWidget" />
|
||||
</div>
|
||||
<div
|
||||
class="row your-shop-location"
|
||||
v-if="showInshopComponent">
|
||||
<div class="row your-shop-location" v-if="showInshopComponent">
|
||||
<div class="col-12 col-md-10 col-lg-8 col-xl-7">
|
||||
<div>
|
||||
<shopLocation
|
||||
|
|
@ -631,9 +629,13 @@ export default {
|
|||
showInshopComponent() {
|
||||
// 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.appointmentType && this.appointmentType !== AppointmentTypeStrings.MOBILE)) {
|
||||
if (
|
||||
(this.inshopTimeSlotsData === undefined &&
|
||||
this.mobileTimeSlotsData === undefined) ||
|
||||
(this.inshopTimeSlotsData.days.length === 0 &&
|
||||
this.mobileTimeSlotsData.days.length === 0) ||
|
||||
(this.appointmentType && this.appointmentType !== AppointmentTypeStrings.MOBILE)
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -1049,7 +1051,7 @@ export default {
|
|||
return store.getters.order.serviceLocation.isVehicleProtected;
|
||||
},
|
||||
getAppointmentTypeFromStore() {
|
||||
return store.getters.order.serviceLocation.appointmentType;
|
||||
return store.getters.order.serviceLocation.appointmentType;
|
||||
},
|
||||
getSelectedProviderFromStore() {
|
||||
return store.getters.order.serviceLocation.provider;
|
||||
|
|
|
|||
Loading…
Reference in a new issue