CASH-1790 updates for time slot question
This commit is contained in:
parent
c4257e2eae
commit
8672273559
1 changed files with 9 additions and 1 deletions
|
|
@ -34,7 +34,10 @@
|
|||
isInshopOrDropOffAppointment ? 'is-inshop-or-drop-off-appointment' : '',
|
||||
]"
|
||||
:answers="availableTimeSlots"
|
||||
:lazyLoad="{ isLazyLoad: !isMobileAppointment, amountToLoad: 10 }"
|
||||
:lazyLoad="{
|
||||
isLazyLoad: isLazyLoad,
|
||||
amountToLoad: lazyLoadAmountToLoad || 10,
|
||||
}"
|
||||
groupName="chooseTimeSlot"
|
||||
textPosition="text-center"
|
||||
v-model="selectedAnswerForTimeSlots"
|
||||
|
|
@ -133,6 +136,7 @@ export default {
|
|||
isSameDay: Boolean,
|
||||
displayWaitList: Boolean,
|
||||
selectedRouteCodeData: Object,
|
||||
lazyLoadAmountToLoad: Number,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
@ -395,6 +399,10 @@ export default {
|
|||
!this.isDropOffAppointmentAvailable
|
||||
);
|
||||
},
|
||||
isLazyLoad() {
|
||||
if (this.isMobileAppointment || this.selectedAnswerForTimeSlots) return false;
|
||||
return true;
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
updateDropoffAndTimeSlotAnswersFromSelectedRouteCodeData(selectedRouteCodeData) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue