bailout before choosing new glass

This commit is contained in:
Katie Kroell 2026-03-16 10:28:02 -04:00
parent b8e08da56c
commit 2e4bfaaab6

View file

@ -182,7 +182,6 @@ export default {
this.mainStore.setBailout(bailoutMessage.HeavyTruckVehicle(vehicleLookupResponse.data.carId));
this.resetVehicleFromLookup();
showIssLoadingModal(false);
return;
}
// Add vin bcs the response from the service doesn't contain vin
@ -226,6 +225,9 @@ export default {
let isSelectedGlassAvailableForVehicle = true;
if (this.isCarIdDifferentFromTheStore) {
if (this.mainStore.isBailout) {
return this.navigateForward();
}
isSelectedGlassAvailableForVehicle =
await isGlassAvailableForCarId(this.vehicleFromLookup.carId);
}