Merge pull request #2147 from Safelite/feature/CSR-2407
CSR-2407 dup check
This commit is contained in:
commit
89edff3740
1 changed files with 16 additions and 8 deletions
|
|
@ -436,7 +436,6 @@ export default {
|
||||||
policy.policyNumber !== "";
|
policy.policyNumber !== "";
|
||||||
|
|
||||||
const skipVin = await skipVinLookup();
|
const skipVin = await skipVinLookup();
|
||||||
|
|
||||||
if (vehicleChangedDuringPolicyLookupInHeritage) {
|
if (vehicleChangedDuringPolicyLookupInHeritage) {
|
||||||
if (skipVin) {
|
if (skipVin) {
|
||||||
this.$router.navigateWithSaving(
|
this.$router.navigateWithSaving(
|
||||||
|
|
@ -455,13 +454,22 @@ export default {
|
||||||
{ [routerParams.DISPLAY_VEHICLE_CHANGE_ALERT]: false }
|
{ [routerParams.DISPLAY_VEHICLE_CHANGE_ALERT]: false }
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
this.$router.navigateWithSaving(
|
if (store.getters.vehicle.vin) {
|
||||||
this.navigationScenarios
|
this.$router.navigateWithSaving(
|
||||||
.CLICKED_FORWARD_WITH_REPLACE_AND_VERIFIED_INSURANCE,
|
this.navigationScenarios
|
||||||
this.$route,
|
.CLICKED_FORWARD_WITH_REPLACE_AND_VERIFIED_INSURANCE,
|
||||||
{},
|
this.$route,
|
||||||
{ [routerParams.DISPLAY_VEHICLE_CHANGE_ALERT]: false }
|
{},
|
||||||
);
|
{ [routerParams.DISPLAY_VEHICLE_CHANGE_ALERT]: false }
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
this.$router.navigateWithSaving(
|
||||||
|
this.navigationScenarios.CLICKED_FORWARD_WITHOUT_VIN,
|
||||||
|
this.$route,
|
||||||
|
{},
|
||||||
|
{ [routerParams.DISPLAY_VEHICLE_CHANGE_ALERT]: false }
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue