From fd073c8a99ddbbb158e2ca93224a6fdf15a36426 Mon Sep 17 00:00:00 2001 From: Sneha Date: Tue, 13 Jun 2023 17:45:48 +0530 Subject: [PATCH] Update index.js --- src/store/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index e58f484e7..4a5ccc328 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -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; }