CASH-1790: fix for prettier

(cherry picked from commit 28b01bb3b4)
This commit is contained in:
Adam Caouette 2025-12-04 16:30:02 -05:00
parent 8cd70f0467
commit 773fe6c698

View file

@ -36,7 +36,10 @@
isInshopOrDropOffAppointment ? 'is-inshop-or-drop-off-appointment' : '', isInshopOrDropOffAppointment ? 'is-inshop-or-drop-off-appointment' : '',
]" ]"
:answers="availableTimeSlots" :answers="availableTimeSlots"
:lazyLoad="{ isLazyLoad: !isMobileAppointment && !selectedAnswerForTimeSlots, amountToLoad: 10 }" :lazyLoad="{
isLazyLoad: !isMobileAppointment && !selectedAnswerForTimeSlots,
amountToLoad: 10,
}"
groupName="chooseTimeSlot" groupName="chooseTimeSlot"
textPosition="text-center" textPosition="text-center"
questionText="Available times:" questionText="Available times:"
@ -135,7 +138,7 @@ export default {
displayWaitList: Boolean, displayWaitList: Boolean,
selectedRouteCodeData: Object, selectedRouteCodeData: Object,
isDatePickerDoneInitializing: Boolean, isDatePickerDoneInitializing: Boolean,
}, },
data() { data() {
return { return {
timeSlotModalListButton: timeSlotModalListButton, timeSlotModalListButton: timeSlotModalListButton,
@ -190,7 +193,7 @@ export default {
timeSlotsForSelectedDate() { timeSlotsForSelectedDate() {
if (!this.isDatePickerDoneInitializing) { if (!this.isDatePickerDoneInitializing) {
return; return;
} // needed otherwise it nulls these too early and prevents a previously selected time slot from auto-selecting } // needed otherwise it nulls these too early and prevents a previously selected time slot from auto-selecting
this.selectedAnswerForDropOffOrInshop = null; this.selectedAnswerForDropOffOrInshop = null;
this.selectedAnswerForTimeSlots = null; this.selectedAnswerForTimeSlots = null;
this.autoSelectTimeSlotIfOnlyOneIsAvailable(); this.autoSelectTimeSlotIfOnlyOneIsAvailable();