From 647eb4c9198d24e131d329cb6f7a93f5c6d71d56 Mon Sep 17 00:00:00 2001 From: brydon1 Date: Wed, 6 Sep 2023 17:21:58 -0400 Subject: [PATCH] Remove bailout when no vehicle found --- src/layouts/vin-lookup/vin-lookup.vue | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/layouts/vin-lookup/vin-lookup.vue b/src/layouts/vin-lookup/vin-lookup.vue index bb91d977..67bd391f 100644 --- a/src/layouts/vin-lookup/vin-lookup.vue +++ b/src/layouts/vin-lookup/vin-lookup.vue @@ -112,8 +112,7 @@ export default { vehicleFromLookup: null, vin: this.getVinFromStore(), forwardButtonCarStyle: '', - vinPopulatedOnPageLoad: this.getVinFromStore()?.length > 0, - bailout: false + vinPopulatedOnPageLoad: this.getVinFromStore()?.length > 0 }; }, computed: { @@ -179,15 +178,8 @@ export default { // because the form itself actually passes its client-side validation. // SSR-189 Scenario #4. this.$refs.siteFooter.enableForwardAction(); - this.bailout = true; } - if (this.bailout) { - return this.$router.navigate( - this.navigationScenarios.CLICKED_FORWARD_WITH_BAILOUT, - this.$route - ); - } // Add vin bcs the response from the service doesn't contain vin this.vehicleFromLookup = Object.assign(vehicleLookupResponse.data, { vin: this.vin }); }