Merge pull request #439 from Safelite/brm-alert-fixes

Alert fixes. Remove incorrect duplicate alert.
This commit is contained in:
bmauger 2022-05-12 15:17:34 -04:00 committed by GitHub
commit a4c4022031
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -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",

View file

@ -10,7 +10,7 @@
<span v-if="copy.includes('routerLink:')" class="m-0 text-body">
<router-link :to="{query: {fmgPage: `${copy.split(':')[1].split(',')[0]}`}, name: 'root'}">{{ copy.split(':')[1].split(',')[1] }}</router-link>
</span>
&nbsp;<span v-else class="m-0 text-body" v-html="copy"></span>&nbsp;
<span v-else class="m-0 text-body" v-html="copy"></span>
</template>
</p>
<p v-else class="m-0 text-body" v-html="alertCopy"></p>
@ -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;
}
}
</style>