CASH-845 tech review changes
This commit is contained in:
parent
2257ad32a7
commit
b7f5be2d80
1 changed files with 9 additions and 13 deletions
|
|
@ -1171,7 +1171,7 @@ export default {
|
|||
(this.isServiceableInshop && !selectedDateInshop) ||
|
||||
(this.isServiceableDropoff && !selectedDateInshop)
|
||||
) {
|
||||
setTimeout(() => {
|
||||
this.$nextTick(() => {
|
||||
this.$refs.datePicker.showAnotherMonth().then((moreSelectableDates) => {
|
||||
// update all dates
|
||||
this.selectableDatesInshop.days =
|
||||
|
|
@ -1180,7 +1180,7 @@ export default {
|
|||
moreSelectableDates.mobileTimeSlotsData.days;
|
||||
this.setDisplayWaitList();
|
||||
});
|
||||
}, 50);
|
||||
});
|
||||
}
|
||||
if (this.isMobileSelected) {
|
||||
this.selectedDate = selectedDateMobile;
|
||||
|
|
@ -1599,17 +1599,13 @@ export default {
|
|||
},
|
||||
updateSelectedProviderAndZipCode(newZipCode, newProvider) {
|
||||
this.resetMobileLocation();
|
||||
|
||||
getShopProviderData(newZipCode.zipCode).then((result) => {
|
||||
this.shopProviderData = result.data;
|
||||
this.state = newZipCode.state;
|
||||
this.zipCode = newZipCode.zipCode;
|
||||
this.zipCodeCtu = newZipCode.zipCodeCtu;
|
||||
this.zipContainsMilitaryBase = newZipCode.containsMilitaryBase;
|
||||
this.selectedDate = null;
|
||||
this.selectedProvider = newProvider;
|
||||
this.initializeDatePicker();
|
||||
});
|
||||
this.state = newZipCode.state;
|
||||
this.zipCode = newZipCode.zipCode;
|
||||
this.zipCodeCtu = newZipCode.zipCodeCtu;
|
||||
this.zipContainsMilitaryBase = newZipCode.containsMilitaryBase;
|
||||
this.selectedDate = null;
|
||||
this.selectedProvider = newProvider;
|
||||
this.initializeDatePicker();
|
||||
},
|
||||
handleAppointmentTypeChange(newAppointmentType) {
|
||||
this.updateFooterButtonText();
|
||||
|
|
|
|||
Loading…
Reference in a new issue