CSR-1617 | Save quote defect (skip vin-lookup)
This commit is contained in:
parent
e7dde37511
commit
52b54d44dc
1 changed files with 3 additions and 1 deletions
|
|
@ -68,12 +68,14 @@ export async function navigateToHeritageFunnel({ shouldSaveSession = true, loadi
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function skipVinLookup() {
|
export async function skipVinLookup() {
|
||||||
|
if (store.getters.damage.isRepair) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
const isVinOptionalVehicle = store.getters.order.vehicle.make
|
const isVinOptionalVehicle = store.getters.order.vehicle.make
|
||||||
? await store.dispatch(storeActions.IS_VIN_OPTIONAL_VEHICLE)
|
? await store.dispatch(storeActions.IS_VIN_OPTIONAL_VEHICLE)
|
||||||
: false;
|
: false;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
store.getters.damage.isRepair ||
|
|
||||||
isVinOptionalVehicle ||
|
isVinOptionalVehicle ||
|
||||||
!includesWindshieldReplacement() ||
|
!includesWindshieldReplacement() ||
|
||||||
experimentMixin.methods.hasSettingEqualTo(experimentSettings.SUPPRESS_VIN_CAPTURE, "true")
|
experimentMixin.methods.hasSettingEqualTo(experimentSettings.SUPPRESS_VIN_CAPTURE, "true")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue