copilot fixes
This commit is contained in:
parent
8c0c82eeaf
commit
adbaa7d0ca
2 changed files with 6 additions and 2 deletions
|
|
@ -238,7 +238,11 @@ export default {
|
|||
}
|
||||
if (!vinLookup.data?.canSafeliteService) {
|
||||
this.mainStore.setBailout(bailoutMessage.HeavyTruckVehicle(vinLookup.data.carId));
|
||||
return this.navigateForward();
|
||||
this.$router.navigate(
|
||||
this.navigationScenarios.BAILOUT,
|
||||
this.$route
|
||||
);
|
||||
return;
|
||||
}
|
||||
this.isSelectedGlassAvailableForVehicle = await isGlassAvailableForCarId(vinLookup.data.carId);
|
||||
await useMainStore().saveVin(
|
||||
|
|
|
|||
|
|
@ -170,13 +170,13 @@ export default {
|
|||
// NOTE: If form is not valid, this method is not called when 'Continue' button is clicked
|
||||
async forwardButtonAction() {
|
||||
this.resetActiveAlert();
|
||||
this.mainStore.resetBailout();
|
||||
// Temp solution to reset the 'disabled' style on the Continue button
|
||||
this.$refs.siteFooter.enableForwardAction();
|
||||
showIssLoadingModal(true);
|
||||
|
||||
if (this.needToLookupVehicle) {
|
||||
try {
|
||||
this.mainStore.resetBailout();
|
||||
const vehicleLookupResponse = await this.lookupVehicleByVin(this.vin);
|
||||
|
||||
if (!vehicleLookupResponse.data.canSafeliteService) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue