method fixes
This commit is contained in:
parent
d97772f214
commit
5495fdcbf8
2 changed files with 2 additions and 3 deletions
|
|
@ -182,13 +182,13 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.mainStore.isBailout) {
|
if (this.mainStore.isBailout) {
|
||||||
this.$router.navigate(
|
return this.$router.navigate(
|
||||||
this.navigationScenarios.BAILOUT,
|
this.navigationScenarios.BAILOUT,
|
||||||
this.$route
|
this.$route
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$router.navigate(
|
return this.$router.navigate(
|
||||||
this.navigationScenarios.CLICKED_FORWARD,
|
this.navigationScenarios.CLICKED_FORWARD,
|
||||||
this.$route
|
this.$route
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -181,7 +181,6 @@ export default {
|
||||||
if (!vehicleLookupResponse.data.canSafeliteService) {
|
if (!vehicleLookupResponse.data.canSafeliteService) {
|
||||||
this.mainStore.setBailout(bailoutMessage.HeavyTruckVehicle(vehicleLookupResponse.data.carId));
|
this.mainStore.setBailout(bailoutMessage.HeavyTruckVehicle(vehicleLookupResponse.data.carId));
|
||||||
this.resetVehicleFromLookup();
|
this.resetVehicleFromLookup();
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue