Fixed bug where the Perfect Match New Vin Alert wasn't appearing unless you clicked on masked Vin

This commit is contained in:
Leah Schumann 2022-06-16 08:29:09 -04:00
parent 8e09181629
commit 548f112479

View file

@ -206,7 +206,7 @@ export default {
}, },
computed: { computed: {
perfectMatchNewVinAlert() { perfectMatchNewVinAlert() {
const isVinPerfectMatch = this.vinPopulatedOnPageLoad && this.vin === this.getVinFromStore(); const isVinPerfectMatch = this.vinPopulatedOnPageLoad && this.initialVin === this.getVinFromStore();
this.updateIsCarIdDifferent(isVinPerfectMatch); this.updateIsCarIdDifferent(isVinPerfectMatch);
return isVinPerfectMatch; return isVinPerfectMatch;
}, },