commit
6f6fc854d1
2 changed files with 0 additions and 8 deletions
|
|
@ -2012,12 +2012,6 @@ export const actions = {
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
if (
|
|
||||||
context.state.order.vehicle.make.toLowerCase() === "ford" &&
|
|
||||||
context.state.order.vehicle.year >= 2018
|
|
||||||
) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (
|
if (
|
||||||
context.state.order.vehicle.make.toLowerCase() === "bmw" &&
|
context.state.order.vehicle.make.toLowerCase() === "bmw" &&
|
||||||
context.state.order.vehicle.year <= 2017
|
context.state.order.vehicle.year <= 2017
|
||||||
|
|
|
||||||
|
|
@ -3238,8 +3238,6 @@ describe("Getters", () => {
|
||||||
describe("isVinOptionalVehicle", () => {
|
describe("isVinOptionalVehicle", () => {
|
||||||
const testVehicles = [
|
const testVehicles = [
|
||||||
["2017", "acura", false],
|
["2017", "acura", false],
|
||||||
["2017", "ford", false],
|
|
||||||
["2018", "ford", true],
|
|
||||||
["2018", "bmw", false],
|
["2018", "bmw", false],
|
||||||
["2017", "bmw", true],
|
["2017", "bmw", true],
|
||||||
["2016", "bmw", true],
|
["2016", "bmw", true],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue