From 023cb9e42142bfd04c2f9af7a7dc1bf6dd9b4c93 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Mon, 2 May 2022 11:14:01 -0400 Subject: [PATCH] Added navigateAfterSaveToHeritageFunnel method is place of navigateToHeritageFunnel --- src/layouts/address-lookup/address-lookup.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/address-lookup/address-lookup.vue b/src/layouts/address-lookup/address-lookup.vue index b503e11dc..c2e8a1bb7 100644 --- a/src/layouts/address-lookup/address-lookup.vue +++ b/src/layouts/address-lookup/address-lookup.vue @@ -250,7 +250,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 || isGlassAvailableForCarId(carFound.carId)) { - navigateToHeritageFunnel(); + navigateAfterSaveToHeritageFunnel(this.$route); } else { const partsData = await baseMixin.methods.dispatchNonBlockingStoreAction( this.storeActions.GET_PARTS_OR_QUESTIONS, @@ -269,7 +269,7 @@ export default { // if multiple cars were found if (carsFound.find(car => car.carId === carEntered.carId)) { // and one of them matches the car id entered - navigateToHeritageFunnel(); + navigateAfterSaveToHeritageFunnel(this.$route); } else { // and there is no match, navigate to "address-vehicle" page this.$router.navigateAfterSave(this.navigationScenarios.CONTINUING_WITH_MULTIPLE_VEHICLES, this.$route, {}, {}, carsFound);