From 5edca889aee5ebfdb29d7bf65be3fbbfacc1ffc5 Mon Sep 17 00:00:00 2001 From: CarlNation Date: Tue, 6 Dec 2022 09:10:49 -0500 Subject: [PATCH] CSR-963 uncomment ford test and run prettier --- src/layouts/estimate/estimate.vue | 13 ++++++------- src/store/index.js | 9 ++++++--- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/layouts/estimate/estimate.vue b/src/layouts/estimate/estimate.vue index 720de9152..9d31083d6 100644 --- a/src/layouts/estimate/estimate.vue +++ b/src/layouts/estimate/estimate.vue @@ -205,15 +205,14 @@ export default { } this.displayNonServiceableZipAlert = false; - if (this.isRepair){ + if (this.isRepair) { return this.$router.navigateWithSaving( - this.navigationScenarios.CLICKED_FORWARD_WITH_NO_QUESTIONS, - this.$route + this.navigationScenarios.CLICKED_FORWARD_WITH_NO_QUESTIONS, + this.$route ); - } - else{ - // if we're skipping the vin-lookup but it's not a repair, we still need to get the parts - await this.navigateForwardWithSingleCarMatch(); + } else { + // if we're skipping the vin-lookup but it's not a repair, we still need to get the parts + await this.navigateForwardWithSingleCarMatch(); } } diff --git a/src/store/index.js b/src/store/index.js index 12e718e5d..32c4f71b6 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1432,9 +1432,12 @@ export const actions = { default: } - // if (context.state.order.vehicle.make.toLowerCase() === "ford" && context.state.order.vehicle.year >= 2018) { - // return true; - // } + if ( + context.state.order.vehicle.make.toLowerCase() === "ford" && + context.state.order.vehicle.year >= 2018 + ) { + return true; + } if ( context.state.order.vehicle.make.toLowerCase() === "bmw" &&