Update src/layouts/license-plate-lookup/license-plate-lookup.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
465b3a90c6
commit
5abf45db2f
1 changed files with 5 additions and 1 deletions
|
|
@ -257,7 +257,11 @@ export default {
|
||||||
// Vehicle found from VIN lookup
|
// Vehicle found from VIN lookup
|
||||||
const vehicleFromLookup = vinLookupResponse.data.vehicle;
|
const vehicleFromLookup = vinLookupResponse.data.vehicle;
|
||||||
if (!vehicleFromLookup.canSafeliteService) {
|
if (!vehicleFromLookup.canSafeliteService) {
|
||||||
return this.mainStore.setBailout(bailoutMessage.HeavyTruckVehicle(vehicleFromLookup.carId));
|
this.mainStore.setBailout({
|
||||||
|
type: 'HeavyTruckVehicle',
|
||||||
|
carId: vehicleFromLookup.carId
|
||||||
|
});
|
||||||
|
return this.navigateForward();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if the CarId has changed
|
// Check if the CarId has changed
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue