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,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;
} }

View file

@ -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>