From 68b1cbc3c76ecb60e21d990b2e51f544bbc6708f Mon Sep 17 00:00:00 2001 From: CarlNation <32103961+CarlNation@users.noreply.github.com> Date: Wed, 7 Feb 2024 15:33:34 -0500 Subject: [PATCH] prettier --- .../service-location-helper.js | 6 +++++- src/layouts/service-location/service-location.vue | 14 +++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/layouts/service-location/helpers/service-location-helper/service-location-helper.js b/src/layouts/service-location/helpers/service-location-helper/service-location-helper.js index 6f65b2646..e92349ddf 100644 --- a/src/layouts/service-location/helpers/service-location-helper/service-location-helper.js +++ b/src/layouts/service-location/helpers/service-location-helper/service-location-helper.js @@ -16,7 +16,11 @@ export async function getPricedMobileFeePart(serviceZipCode, pageNameToLog) { false ); - if (mobileFeePart.data === null || mobileFeePart.data === undefined || mobileFeePart.data === "") { + if ( + mobileFeePart.data === null || + mobileFeePart.data === undefined || + mobileFeePart.data === "" + ) { return null; } diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index 4096f4e1d..38f46424f 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -352,14 +352,14 @@ export default { // insurance drops the recycle fee on replace orders so it won't be in supportingItems if (store.getters.payment.isInsurance && !store.getters.order.damage.isRepair) { return ( - store.getters.order.serviceLocation.zipCode !== null && - store.getters.payment.isInsurance !== null); - } - else { + store.getters.order.serviceLocation.zipCode !== null && + store.getters.payment.isInsurance !== null + ); + } else { return ( - store.getters.lineItems.supportingItems !== null && - store.getters.order.serviceLocation.zipCode !== null && - store.getters.payment.isInsurance !== null + store.getters.lineItems.supportingItems !== null && + store.getters.order.serviceLocation.zipCode !== null && + store.getters.payment.isInsurance !== null ); } },