From 85f19a8bcd9c46e8b0d63d28d5d173656693cd4d Mon Sep 17 00:00:00 2001 From: Bryan Mauger Date: Tue, 14 Feb 2023 13:55:06 -0500 Subject: [PATCH 1/2] CSR-1178 fix incorrect zip code alert being displayed. --- src/layouts/vin-lookup/vin-lookup.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/layouts/vin-lookup/vin-lookup.vue b/src/layouts/vin-lookup/vin-lookup.vue index 75d7b019f..715f52213 100644 --- a/src/layouts/vin-lookup/vin-lookup.vue +++ b/src/layouts/vin-lookup/vin-lookup.vue @@ -364,7 +364,12 @@ export default { } // If the Service Zip is NOT serviceable then show an alert - this.displayNonServiceableZipAlert = true; + if (zipCodeData.isValid) { + this.displayNonServiceableZipAlert = true; + } else { + this.displayInvalidZipAlert = true; + } + return this.$refs.funnelFooter.removeLoader(); }, From 197c5e7bc639d9bf017965881215148f3ed062be Mon Sep 17 00:00:00 2001 From: Bryan Mauger Date: Tue, 14 Feb 2023 13:57:36 -0500 Subject: [PATCH 2/2] Format code. --- src/layouts/vin-lookup/vin-lookup.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/layouts/vin-lookup/vin-lookup.vue b/src/layouts/vin-lookup/vin-lookup.vue index 715f52213..0c49dc262 100644 --- a/src/layouts/vin-lookup/vin-lookup.vue +++ b/src/layouts/vin-lookup/vin-lookup.vue @@ -370,7 +370,6 @@ export default { this.displayInvalidZipAlert = true; } - return this.$refs.funnelFooter.removeLoader(); }, async navigateForward() {