Merge pull request #2676 from Safelite/feature/CASH-1207
Don't over-update fields with wrong information.
This commit is contained in:
commit
5bef090f54
1 changed files with 7 additions and 4 deletions
|
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue