From 7e9a719f8a60bbff256594ffb071e990085c881c Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Thu, 12 May 2022 10:34:39 -0400 Subject: [PATCH] Fixed navigation bug for when multiple vehicles are found and one of them matches the vehicle entered --- src/layouts/address-lookup/address-lookup.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/address-lookup/address-lookup.vue b/src/layouts/address-lookup/address-lookup.vue index d4072486c..6df2c827b 100644 --- a/src/layouts/address-lookup/address-lookup.vue +++ b/src/layouts/address-lookup/address-lookup.vue @@ -283,7 +283,7 @@ export default { } } else if (carsFound.length > 1) { // if multiple cars were found - if (carsFound.find(car => car.carId === carEntered.carId)) { + if (carsFound.find(car => car.vehicle.carId === carEntered.carId)) { // and one of them matches the car id entered this.$refs.loadingModal.showModal(); navigateAfterSaveToHeritageFunnel(this.$route);