parent
8cd70f0467
commit
773fe6c698
1 changed files with 6 additions and 3 deletions
|
|
@ -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:"
|
||||||
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue