From dd3bebd9a668c43e087b747a328b9ed647c25813 Mon Sep 17 00:00:00 2001 From: Sneha Date: Thu, 3 Aug 2023 11:37:14 +0530 Subject: [PATCH] CSR-1586 Removing isvinoptional for ford 2018 or above --- src/store/index.js | 6 ------ src/store/store.spec.js | 2 -- 2 files changed, 8 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 0ee76d098..4d4093a61 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -2012,12 +2012,6 @@ export const actions = { return true; default: } - if ( - context.state.order.vehicle.make.toLowerCase() === "ford" && - context.state.order.vehicle.year >= 2018 - ) { - return true; - } if ( context.state.order.vehicle.make.toLowerCase() === "bmw" && context.state.order.vehicle.year <= 2017 diff --git a/src/store/store.spec.js b/src/store/store.spec.js index 4a6788433..f56a7ca49 100644 --- a/src/store/store.spec.js +++ b/src/store/store.spec.js @@ -3238,8 +3238,6 @@ describe("Getters", () => { describe("isVinOptionalVehicle", () => { const testVehicles = [ ["2017", "acura", false], - ["2017", "ford", false], - ["2018", "ford", true], ["2018", "bmw", false], ["2017", "bmw", true], ["2016", "bmw", true],