CASH-1790: fix for prettier

This commit is contained in:
Adam Caouette 2025-12-04 16:30:02 -05:00
parent 9e9f6257a6
commit 28b01bb3b4

View file

@ -36,7 +36,10 @@
isInshopOrDropOffAppointment ? 'is-inshop-or-drop-off-appointment' : '',
]"
:answers="availableTimeSlots"
:lazyLoad="{ isLazyLoad: !isMobileAppointment && !selectedAnswerForTimeSlots, amountToLoad: 10 }"
:lazyLoad="{
isLazyLoad: !isMobileAppointment && !selectedAnswerForTimeSlots,
amountToLoad: 10,
}"
groupName="chooseTimeSlot"
textPosition="text-center"
questionText="Available times:"
@ -135,7 +138,7 @@ export default {
displayWaitList: Boolean,
selectedRouteCodeData: Object,
isDatePickerDoneInitializing: Boolean,
},
},
data() {
return {
timeSlotModalListButton: timeSlotModalListButton,
@ -190,7 +193,7 @@ export default {
timeSlotsForSelectedDate() {
if (!this.isDatePickerDoneInitializing) {
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.selectedAnswerForTimeSlots = null;
this.autoSelectTimeSlotIfOnlyOneIsAvailable();