diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 979ed9355..c42f439ab 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -1105,7 +1105,10 @@ export default { // No zipCodeData comes back if zip was not changed if (shopQuestionPopUpData.zipCodeData) { - this.updateSelectedProviderAndZipCode(shopQuestionPopUpData.zipCodeData, selectedProvider); + this.updateSelectedProviderAndZipCode( + shopQuestionPopUpData.zipCodeData, + selectedProvider + ); } else { this.updateSelectedProvider(selectedProvider); } @@ -1163,7 +1166,11 @@ export default { const selectedDateInshop = this.getSelectedDateForInshop(); // if there is still no selected date, then load more and try again - if ((this.isServiceableMobile && !selectedDateMobile) || (this.isServiceableInshop && !selectedDateInshop) || (this.isServiceableDropoff && !selectedDateInshop)) { + if ( + (this.isServiceableMobile && !selectedDateMobile) || + (this.isServiceableInshop && !selectedDateInshop) || + (this.isServiceableDropoff && !selectedDateInshop) + ) { setTimeout(() => { this.$refs.datePicker.showAnotherMonth().then((moreSelectableDates) => { // update all dates @@ -1578,7 +1585,7 @@ export default { handleZipCodeChange(newZipCode) { this.resetMobileLocation(); this.appointmentTypeFromAppointmentTypeQuestion = null; - + getShopProviderData(newZipCode.zipCode).then((result) => { this.shopProviderData = result.data; this.resetSelectedProvider(); @@ -1592,7 +1599,7 @@ export default { }, updateSelectedProviderAndZipCode(newZipCode, newProvider) { this.resetMobileLocation(); - + getShopProviderData(newZipCode.zipCode).then((result) => { this.shopProviderData = result.data; this.state = newZipCode.state; @@ -1603,7 +1610,6 @@ export default { this.selectedProvider = newProvider; this.initializeDatePicker(); }); - }, handleAppointmentTypeChange(newAppointmentType) { this.updateFooterButtonText();