Merge pull request #1328 from Safelite/feature/skiener/CSR-1617
CSR-1617 | Save quote defect (skip vin-lookup)
This commit is contained in:
commit
d05a316342
1 changed files with 3 additions and 1 deletions
|
|
@ -68,12 +68,14 @@ export async function navigateToHeritageFunnel({ shouldSaveSession = true, loadi
|
|||
}
|
||||
|
||||
export async function skipVinLookup() {
|
||||
if (store.getters.damage.isRepair) {
|
||||
return true;
|
||||
}
|
||||
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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue