From 3f7e7921aab62935fa146cf23a2eb1dc1dc51f19 Mon Sep 17 00:00:00 2001
From: bmauger
Date: Thu, 12 May 2022 15:12:21 -0400
Subject: [PATCH] Alert fixes. Remove incorrect duplicate alert.
---
src/layouts/vin-lookup/vin-lookup.vue | 6 +++++-
src/ux-components/alert/alert.vue | 6 +-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/layouts/vin-lookup/vin-lookup.vue b/src/layouts/vin-lookup/vin-lookup.vue
index 0294716af..5f4d25454 100644
--- a/src/layouts/vin-lookup/vin-lookup.vue
+++ b/src/layouts/vin-lookup/vin-lookup.vue
@@ -194,7 +194,11 @@ export default {
},
computed: {
perfectMatchNewVinAlert() {
- return this.vinPopulatedOnPageLoad && this.vin === this.getVinFromStore();
+ const isVinPerfectMatch = this.vinPopulatedOnPageLoad && this.vin === this.getVinFromStore();
+ if (isVinPerfectMatch) {
+ this.isCarIdDifferent = false;
+ }
+ return isVinPerfectMatch;
},
MatchedDifferentVehicleAlertHeader(){
const text = this.getCmsContent("MatchedDifferentVehicle",
diff --git a/src/ux-components/alert/alert.vue b/src/ux-components/alert/alert.vue
index 3dc64e497..050a5fd47 100644
--- a/src/ux-components/alert/alert.vue
+++ b/src/ux-components/alert/alert.vue
@@ -10,7 +10,7 @@
{{ copy.split(':')[1].split(',')[1] }}
-
+
@@ -131,10 +131,6 @@ export default {
& p {
font-size: .875rem;
margin-bottom: 0.25rem !important;
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- align-items: center;
}
}