CASH-845 formatting from prettier

This commit is contained in:
AdamCaouetteSafelite 2025-07-18 08:49:14 -04:00
parent adb7dd9bed
commit 2e34325aed

View file

@ -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();