bailout before choosing new glass
This commit is contained in:
parent
b8e08da56c
commit
2e4bfaaab6
1 changed files with 3 additions and 1 deletions
|
|
@ -182,7 +182,6 @@ export default {
|
||||||
this.mainStore.setBailout(bailoutMessage.HeavyTruckVehicle(vehicleLookupResponse.data.carId));
|
this.mainStore.setBailout(bailoutMessage.HeavyTruckVehicle(vehicleLookupResponse.data.carId));
|
||||||
this.resetVehicleFromLookup();
|
this.resetVehicleFromLookup();
|
||||||
showIssLoadingModal(false);
|
showIssLoadingModal(false);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add vin bcs the response from the service doesn't contain vin
|
// Add vin bcs the response from the service doesn't contain vin
|
||||||
|
|
@ -226,6 +225,9 @@ export default {
|
||||||
|
|
||||||
let isSelectedGlassAvailableForVehicle = true;
|
let isSelectedGlassAvailableForVehicle = true;
|
||||||
if (this.isCarIdDifferentFromTheStore) {
|
if (this.isCarIdDifferentFromTheStore) {
|
||||||
|
if (this.mainStore.isBailout) {
|
||||||
|
return this.navigateForward();
|
||||||
|
}
|
||||||
isSelectedGlassAvailableForVehicle =
|
isSelectedGlassAvailableForVehicle =
|
||||||
await isGlassAvailableForCarId(this.vehicleFromLookup.carId);
|
await isGlassAvailableForCarId(this.vehicleFromLookup.carId);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue