prettier
This commit is contained in:
CarlNation 2024-02-19 07:46:12 -05:00
parent 4e1caf8559
commit 3cfd9a1ca2
4 changed files with 11 additions and 10 deletions

View file

@ -358,9 +358,7 @@ export default {
customer.emailAddress
);
return (
serviceLocationReqs && isInsuranceSet && scheduleReqs && customerReqs
);
return serviceLocationReqs && isInsuranceSet && scheduleReqs && customerReqs;
},
getPaymentMethodFromStore() {
const piaType = store.getters.order.payment.piaType;

View file

@ -347,12 +347,13 @@ export default {
},
getSelectedTimeSlotInfo() {
const supportingItems = this.getSupportingItems();
var isPremiumAppointment = false;
if (supportingItems) {
isPremiumAppointment =
!!supportingItems.filter((lineItem) => lineItem.partType === PREMIUM_FEE_PART_TYPE)
.length > 0;
isPremiumAppointment =
!!supportingItems.filter(
(lineItem) => lineItem.partType === PREMIUM_FEE_PART_TYPE
).length > 0;
}
const selectedTimeSlotInfo = {
@ -467,7 +468,7 @@ export default {
if (!supportingItems) {
return;
}
// if it's not a mobile and/or premium early bird, then make sure we remove any that may have been added
const removePremiumFeeIndex = supportingItems.findIndex(
(item) => item.partType == PREMIUM_FEE_PART_TYPE

View file

@ -204,7 +204,7 @@ export default {
);
const mobileFeePartPromise = getPricedMobileFeePart(serviceZipCode, "service-location");
const shopProviderDataPromise = getShopProviderData(serviceZipCode); // shopQuestion.methods.loadInitialData(serviceZipCode);
// Settle promises and get results

View file

@ -133,7 +133,9 @@ const routes = [
.components.default();
if (!arePagePrerequisitesValid(nextComponent)) {
console.log("Page Prereqs not valid for next component: " + nextComponent.default.name);
console.log(
"Page Prereqs not valid for next component: " + nextComponent.default.name
);
GoToFunnelStartOn404(next);
}