CASH-845: prettier changes
This commit is contained in:
parent
751468eb06
commit
917873515c
2 changed files with 4 additions and 8 deletions
|
|
@ -128,7 +128,7 @@
|
|||
<div class="row justify-content-center date-picker-wrapper">
|
||||
<div class="col-md-6 col-xl-4">
|
||||
<locationAlerts cmsWidgetPrefix="LocationAlert-" ref="locationAlerts" />
|
||||
|
||||
|
||||
<datePicker
|
||||
v-show="selectedAppointmentType"
|
||||
customComponentId="dateQuestion"
|
||||
|
|
@ -1241,9 +1241,7 @@ export default {
|
|||
getSelectedDate() {
|
||||
let isMobileSelected = this.isMobileSelected;
|
||||
if (isMobileSelected === undefined) {
|
||||
isMobileSelected =
|
||||
this.selectedAppointmentType ===
|
||||
AppointmentTypeStrings.MOBILE;
|
||||
isMobileSelected = this.selectedAppointmentType === AppointmentTypeStrings.MOBILE;
|
||||
}
|
||||
let storedDate = store.getters.order.schedule.date;
|
||||
if (isMobileSelected) storedDate += "-mobile";
|
||||
|
|
@ -1472,7 +1470,7 @@ export default {
|
|||
experimentSettings.DISPLAY_WAITLIST,
|
||||
"true"
|
||||
) &&
|
||||
this.selectableDatesInshop.days[0] &&
|
||||
this.selectableDatesInshop.days[0] &&
|
||||
this.selectableDatesMobile.days[0]
|
||||
) {
|
||||
const dateString = this.isMobileSelected
|
||||
|
|
|
|||
|
|
@ -83,9 +83,7 @@ export default {
|
|||
return this.isServiceableMobile && !this.isServiceableInshop;
|
||||
},
|
||||
isInshopOnly() {
|
||||
return (
|
||||
this.isServiceableInshop && !this.isServiceableMobile
|
||||
);
|
||||
return this.isServiceableInshop && !this.isServiceableMobile;
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue