copilot fixes

This commit is contained in:
Katie Kroell 2026-03-16 12:57:12 -04:00
parent 8c0c82eeaf
commit adbaa7d0ca
2 changed files with 6 additions and 2 deletions

View file

@ -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(

View file

@ -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) {