Merge pull request #1332 from Safelite/feature/skiener/CSR-1617
CSR-1617 | Navigation defect IsVinOptionalNotRepair
This commit is contained in:
commit
0ec6c85b9c
1 changed files with 7 additions and 7 deletions
|
|
@ -92,18 +92,18 @@ export async function skipVinLookup() {
|
|||
}
|
||||
|
||||
export async function skipVinLookupNotRepair() {
|
||||
if (store.getters.damage.isRepair) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const isVinOptionalVehicle = store.getters.order.vehicle.make
|
||||
? await store.dispatch(storeActions.IS_VIN_OPTIONAL_VEHICLE)
|
||||
: false;
|
||||
|
||||
return (
|
||||
!store.getters.damage.isRepair &&
|
||||
(isVinOptionalVehicle ||
|
||||
!includesWindshieldReplacement() ||
|
||||
experimentMixin.methods.hasSettingEqualTo(
|
||||
experimentSettings.SUPPRESS_VIN_CAPTURE,
|
||||
"true"
|
||||
))
|
||||
isVinOptionalVehicle ||
|
||||
!includesWindshieldReplacement() ||
|
||||
experimentMixin.methods.hasSettingEqualTo(experimentSettings.SUPPRESS_VIN_CAPTURE, "true")
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue