diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index bad1ae713..5be23f827 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -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; diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 77e009a2a..05f439472 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -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 diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index 0007cb112..353612d5d 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -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 diff --git a/src/router/index.js b/src/router/index.js index 18621cbdc..8fc4d7960 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -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); }