Add no-vin option
This commit is contained in:
parent
c5838a0184
commit
26dead5f3e
2 changed files with 7 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ const vinLookupMethodSelections = {
|
||||||
MANUALVIN: "ManualVin",
|
MANUALVIN: "ManualVin",
|
||||||
LICENSEPLATE: "LicensePlate",
|
LICENSEPLATE: "LicensePlate",
|
||||||
HOMEADDRESS: "HomeAddress",
|
HOMEADDRESS: "HomeAddress",
|
||||||
|
DECLINE: "Decline",
|
||||||
};
|
};
|
||||||
|
|
||||||
export { vinLookupMethodSelections };
|
export { vinLookupMethodSelections };
|
||||||
|
|
|
||||||
|
|
@ -323,6 +323,12 @@ export default {
|
||||||
this.$route
|
this.$route
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
if (this.selectedVinLookupMethod === vinLookupMethodSelections.DECLINE) {
|
||||||
|
return this.$router.navigateWithSaving(
|
||||||
|
this.navigationScenarios.SELECTED_NO_VIN,
|
||||||
|
this.$route
|
||||||
|
);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue