Update src/layouts/policy-vehicles/policy-vehicles.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
5a27faba57
commit
67b18aef33
1 changed files with 3 additions and 1 deletions
|
|
@ -188,7 +188,9 @@ export default {
|
|||
const vehicleLookupResponse = await this.lookupVehicleByVin(this.selectedVehicleVin);
|
||||
|
||||
if (!vehicleLookupResponse?.data.canSafeliteService) {
|
||||
this.mainStore.setBailout(bailoutMessage.HeavyTruckVehicle(this.mainStore.order.vehicle.carId));
|
||||
this.mainStore.setBailout(
|
||||
bailoutMessage.HeavyTruckVehicle(vehicleLookupResponse?.data?.carId)
|
||||
);
|
||||
}
|
||||
useMainStore().updateVehicle({
|
||||
...vehicleLookupResponse.data,
|
||||
|
|
|
|||
Loading…
Reference in a new issue