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:
katiekroell 2026-03-10 13:15:10 -04:00 committed by GitHub
parent 465b3a90c6
commit 5abf45db2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -257,7 +257,11 @@ export default {
// Vehicle found from VIN lookup
const vehicleFromLookup = vinLookupResponse.data.vehicle;
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