CSR-1586
Removing isvinoptional for ford 2018 or above
This commit is contained in:
parent
eef8fa82c7
commit
dd3bebd9a6
2 changed files with 0 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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],
|
||||
|
|
|
|||
Loading…
Reference in a new issue