diff --git a/src/layouts/vin-lookup/vin-lookup.vue b/src/layouts/vin-lookup/vin-lookup.vue index cf6a7558..f469953d 100644 --- a/src/layouts/vin-lookup/vin-lookup.vue +++ b/src/layouts/vin-lookup/vin-lookup.vue @@ -185,8 +185,7 @@ export default { const vehicleLookupResponse = await this.lookupVehicleByVin(this.vin); if (vehicleLookupResponse.error) { - this.activeVehicleLookupAlertType = - vehicleLookupAlertTypes.NOT_FOUND; + this.activeVehicleLookupAlertType = vehicleLookupAlertTypes.NOT_FOUND; this.mainStore.setBailout(bailoutMessage.vehicleNotFound(this.vin)); this.resetVehicleFromLookup(); this.$refs.siteFooter.removeLoader(); @@ -197,6 +196,12 @@ export default { return; } + if (!vehicleLookupResponse.data.canSafeliteService) { + this.mainStore.setBailout(bailoutMessage.HeavyTruckVehicle(vehicleLookupResponse.data.carId)); + this.$router.navigate(this.navigationScenarios.CLICKED_FORWARD_WITH_BAILOUT, this.$route); + return; + } + this.mainStore.resetBailout(); // Add vin bcs the response from the service doesn't contain vin