From c5179e928d3d680b8cf05ba6505b903d6b0bb840 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Fri, 29 Apr 2022 08:43:23 -0400 Subject: [PATCH] preparing to merge from develop --- src/layouts/address-lookup/address-lookup.vue | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/layouts/address-lookup/address-lookup.vue b/src/layouts/address-lookup/address-lookup.vue index 4069b0c21..3b50fa512 100644 --- a/src/layouts/address-lookup/address-lookup.vue +++ b/src/layouts/address-lookup/address-lookup.vue @@ -225,8 +225,7 @@ export default { // if the car entered is the same as the car found OR the glass options for the found car match the users damage selections if (carEntered.carId == carFound.carId || !compareGlassOptions(glassOptions.data, store.getters.damage.glassToReplace)) { - console.log("navigating to heritage funnel"); - //navigateToHeritageFunnel(); + navigateToHeritageFunnel(); } else { const partsData = await baseMixin.methods.dispatchNonBlockingStoreAction( this.storeActions.GET_PARTS_OR_QUESTIONS, @@ -238,20 +237,17 @@ export default { }, false ); - console.log("navigating to vehicle-damage page"); // if not then navigate to the "vehicle-damage" page - //this.$router.navigateAfterSave(this.navigationScenarios.CLICKED_FORWARD, this.$route, {}, { displayVehicleChangeAlert: true }, partsData.data); + this.$router.navigateAfterSave(this.navigationScenarios.CLICKED_FORWARD, this.$route, {}, { displayVehicleChangeAlert: true }, partsData.data); } } else if (carsFound.length > 1) { // if multiple cars were found if (carsFound.find(car => car.carId === carEntered.carId)) { - console.log("navigating to heritage funnel"); // and one of them matches the car id entered - //navigateToHeritageFunnel(); + navigateToHeritageFunnel(); } else { - console.log("navigating to address-vehicle page"); // and there is no match, navigate to "address-vehicle" page - //this.$router.navigateAfterSave(this.navigationScenarios.CONTINUING_WITH_MULTIPLE_VEHICLES, this.$route, {}, {}, carsFound); + this.$router.navigateAfterSave(this.navigationScenarios.CONTINUING_WITH_MULTIPLE_VEHICLES, this.$route, {}, {}, carsFound); } }