CASH-1230

formatting
This commit is contained in:
Johnny shultz 2025-07-24 10:07:09 -04:00
parent 0d826f478e
commit 1b7eb2962e
2 changed files with 11 additions and 5 deletions

View file

@ -1442,16 +1442,19 @@ export default {
},
setDisplayWaitList() {
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;
} else if (
this.appointmentType === AppointmentTypeStrings.IN_SHOP ||
this.appointmentType === AppointmentTypeStrings.DROP_OFF ||
this.appointmentType === AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF &&
this.selectableDatesInshop.days.length > 0
(this.appointmentType === AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF &&
this.selectableDatesInshop.days.length > 0)
) {
dateString = this.selectableDatesInshop?.days[0]?.date;
}
}
if (
experimentMixin.methods.hasSettingEqualTo(
experimentSettings.DISPLAY_WAITLIST,

View file

@ -53,7 +53,10 @@
v-model="waitListRequested"
@click="waitListChecked" />
</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" />
<span v-html="waitListSuccessText" class="success-text"></span>
</div>