CASH-1230
formatting
This commit is contained in:
parent
0d826f478e
commit
1b7eb2962e
2 changed files with 11 additions and 5 deletions
|
|
@ -1442,13 +1442,16 @@ export default {
|
||||||
},
|
},
|
||||||
setDisplayWaitList() {
|
setDisplayWaitList() {
|
||||||
let dateString = null;
|
let dateString = null;
|
||||||
if (this.appointmentType === AppointmentTypeStrings.MOBILE && this.selectableDatesMobile.days.length > 0) {
|
if (
|
||||||
|
this.appointmentType === AppointmentTypeStrings.MOBILE &&
|
||||||
|
this.selectableDatesMobile.days.length > 0
|
||||||
|
) {
|
||||||
dateString = this.selectableDatesMobile?.days[0]?.date;
|
dateString = this.selectableDatesMobile?.days[0]?.date;
|
||||||
} else if (
|
} else if (
|
||||||
this.appointmentType === AppointmentTypeStrings.IN_SHOP ||
|
this.appointmentType === AppointmentTypeStrings.IN_SHOP ||
|
||||||
this.appointmentType === AppointmentTypeStrings.DROP_OFF ||
|
this.appointmentType === AppointmentTypeStrings.DROP_OFF ||
|
||||||
this.appointmentType === AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF &&
|
(this.appointmentType === AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF &&
|
||||||
this.selectableDatesInshop.days.length > 0
|
this.selectableDatesInshop.days.length > 0)
|
||||||
) {
|
) {
|
||||||
dateString = this.selectableDatesInshop?.days[0]?.date;
|
dateString = this.selectableDatesInshop?.days[0]?.date;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,10 @@
|
||||||
v-model="waitListRequested"
|
v-model="waitListRequested"
|
||||||
@click="waitListChecked" />
|
@click="waitListChecked" />
|
||||||
</div>
|
</div>
|
||||||
<div v-if="waitListRequested && displayWaitList" class="rounded waitlist-success" ref="waitlistSuccessMessage">
|
<div
|
||||||
|
v-if="waitListRequested && displayWaitList"
|
||||||
|
class="rounded waitlist-success"
|
||||||
|
ref="waitlistSuccessMessage">
|
||||||
<img :src="waitListSuccessImage" class="success-image" />
|
<img :src="waitListSuccessImage" class="success-image" />
|
||||||
<span v-html="waitListSuccessText" class="success-text"></span>
|
<span v-html="waitListSuccessText" class="success-text"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue