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 // No zipCodeData comes back if zip was not changed
if (shopQuestionPopUpData.zipCodeData) { if (shopQuestionPopUpData.zipCodeData) {
this.updateSelectedProviderAndZipCode(shopQuestionPopUpData.zipCodeData, selectedProvider); this.updateSelectedProviderAndZipCode(
shopQuestionPopUpData.zipCodeData,
selectedProvider
);
} else { } else {
this.updateSelectedProvider(selectedProvider); this.updateSelectedProvider(selectedProvider);
} }
@ -1163,7 +1166,11 @@ export default {
const selectedDateInshop = this.getSelectedDateForInshop(); const selectedDateInshop = this.getSelectedDateForInshop();
// if there is still no selected date, then load more and try again // 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(() => { setTimeout(() => {
this.$refs.datePicker.showAnotherMonth().then((moreSelectableDates) => { this.$refs.datePicker.showAnotherMonth().then((moreSelectableDates) => {
// update all dates // update all dates
@ -1578,7 +1585,7 @@ export default {
handleZipCodeChange(newZipCode) { handleZipCodeChange(newZipCode) {
this.resetMobileLocation(); this.resetMobileLocation();
this.appointmentTypeFromAppointmentTypeQuestion = null; this.appointmentTypeFromAppointmentTypeQuestion = null;
getShopProviderData(newZipCode.zipCode).then((result) => { getShopProviderData(newZipCode.zipCode).then((result) => {
this.shopProviderData = result.data; this.shopProviderData = result.data;
this.resetSelectedProvider(); this.resetSelectedProvider();
@ -1592,7 +1599,7 @@ export default {
}, },
updateSelectedProviderAndZipCode(newZipCode, newProvider) { updateSelectedProviderAndZipCode(newZipCode, newProvider) {
this.resetMobileLocation(); this.resetMobileLocation();
getShopProviderData(newZipCode.zipCode).then((result) => { getShopProviderData(newZipCode.zipCode).then((result) => {
this.shopProviderData = result.data; this.shopProviderData = result.data;
this.state = newZipCode.state; this.state = newZipCode.state;
@ -1603,7 +1610,6 @@ export default {
this.selectedProvider = newProvider; this.selectedProvider = newProvider;
this.initializeDatePicker(); this.initializeDatePicker();
}); });
}, },
handleAppointmentTypeChange(newAppointmentType) { handleAppointmentTypeChange(newAppointmentType) {
this.updateFooterButtonText(); this.updateFooterButtonText();