Don't over-update fields with wrong information.

This commit is contained in:
Chloe Herd 2025-07-22 12:09:07 -04:00
parent 2d045f2192
commit ead9fc10af

View file

@ -1182,10 +1182,13 @@ export default {
this.$nextTick(() => {
this.$refs.datePicker.showAnotherMonth().then((moreSelectableDates) => {
// update all dates
this.selectableDatesInshop.days =
moreSelectableDates.inshopTimeSlotsData.days;
this.selectableDatesMobile.days =
moreSelectableDates.mobileTimeSlotsData.days;
// > CHLOE HERD 7/22 -- CASH-1207
// > Do not update the available dates again here;
// > they have already been updated by `showAnotherMonth`.
// > Doing so will likely add or remove dates,
// > desyncing the schedule page and the date-picker.
this.setDisplayWaitList();
});
});