CASH-1790 prettier fixes
This commit is contained in:
parent
2858925811
commit
97c1446d37
1 changed files with 5 additions and 4 deletions
|
|
@ -400,9 +400,10 @@ export default {
|
|||
);
|
||||
},
|
||||
isLazyLoad() {
|
||||
if (this.availableTimeSlots?.length < (this.lazyLoadAmountToLoad + 1)) return false;
|
||||
if (this.availableTimeSlots?.length < this.lazyLoadAmountToLoad + 1) return false;
|
||||
if (this.isMobileAppointment) return false;
|
||||
if (this.selectedAnswerForTimeSlots && !this.isSelectedInshopTimeSlotShowing) return false;
|
||||
if (this.selectedAnswerForTimeSlots && !this.isSelectedInshopTimeSlotShowing)
|
||||
return false;
|
||||
return true;
|
||||
},
|
||||
availableTimeSlotsForInshop() {
|
||||
|
|
@ -410,10 +411,10 @@ export default {
|
|||
},
|
||||
isSelectedInshopTimeSlotShowing() {
|
||||
if (!this.selectedAnswerForTimeSlots) return false;
|
||||
const idx = this.availableTimeSlotsForInshop?.findIndex(timeSlot => {
|
||||
const idx = this.availableTimeSlotsForInshop?.findIndex((timeSlot) => {
|
||||
return timeSlot.value === this.selectedAnswerForTimeSlots;
|
||||
});
|
||||
if ((idx > -1) && (idx < this.lazyLoadAmountToLoad)) {
|
||||
if (idx > -1 && idx < this.lazyLoadAmountToLoad) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue