Update index.js
This commit is contained in:
parent
475123832b
commit
fd073c8a99
1 changed files with 3 additions and 3 deletions
|
|
@ -1532,13 +1532,13 @@ export const actions = {
|
|||
},
|
||||
isVinOptionalVehicle(context) {
|
||||
if (
|
||||
singleWindshieldCarid.find((item) => item === context.state.order.vehicle.carId)
|
||||
&& context.state.order.damage.glassToReplace.length == 1 &&
|
||||
singleWindshieldCarid.find((item) => item === context.state.order.vehicle.carId) &&
|
||||
context.state.order.damage.glassToReplace.length == 1 &&
|
||||
context.state.order.damage.glassToReplace.find(
|
||||
(glassToReplace) =>
|
||||
glassToReplace.glassLocation.toLowerCase() ===
|
||||
damageLocationsSelected.WINDSHIELD.toLowerCase()
|
||||
)
|
||||
)
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue