CASH-552: update selected date after second api date load

This commit is contained in:
Adam Caouette 2025-05-07 08:54:12 -04:00
parent c33b43e9f7
commit 54cdb6f2cf

View file

@ -375,6 +375,10 @@ export default {
setTimeout(() => { setTimeout(() => {
this.$refs.datePicker.showAnotherMonth().then((moreSelectableDatesData) => { this.$refs.datePicker.showAnotherMonth().then((moreSelectableDatesData) => {
this.selectableDatesData = moreSelectableDatesData; this.selectableDatesData = moreSelectableDatesData;
if (selectableDatesData?.days?.length > 0) {
this.selectedDate = selectableDatesData.days[0].date;
}
this.setDisplayWaitList(); this.setDisplayWaitList();
}); });
}, 50); }, 50);