CASH-552: update selected date after second api date load
This commit is contained in:
parent
c33b43e9f7
commit
54cdb6f2cf
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue