Merge pull request #439 from Safelite/brm-alert-fixes
Alert fixes. Remove incorrect duplicate alert.
This commit is contained in:
commit
a4c4022031
2 changed files with 6 additions and 6 deletions
|
|
@ -194,7 +194,11 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
perfectMatchNewVinAlert() {
|
perfectMatchNewVinAlert() {
|
||||||
return this.vinPopulatedOnPageLoad && this.vin === this.getVinFromStore();
|
const isVinPerfectMatch = this.vinPopulatedOnPageLoad && this.vin === this.getVinFromStore();
|
||||||
|
if (isVinPerfectMatch) {
|
||||||
|
this.isCarIdDifferent = false;
|
||||||
|
}
|
||||||
|
return isVinPerfectMatch;
|
||||||
},
|
},
|
||||||
MatchedDifferentVehicleAlertHeader(){
|
MatchedDifferentVehicleAlertHeader(){
|
||||||
const text = this.getCmsContent("MatchedDifferentVehicle",
|
const text = this.getCmsContent("MatchedDifferentVehicle",
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
<span v-if="copy.includes('routerLink:')" class="m-0 text-body">
|
<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>
|
<router-link :to="{query: {fmgPage: `${copy.split(':')[1].split(',')[0]}`}, name: 'root'}">{{ copy.split(':')[1].split(',')[1] }}</router-link>
|
||||||
</span>
|
</span>
|
||||||
<span v-else class="m-0 text-body" v-html="copy"></span>
|
<span v-else class="m-0 text-body" v-html="copy"></span>
|
||||||
</template>
|
</template>
|
||||||
</p>
|
</p>
|
||||||
<p v-else class="m-0 text-body" v-html="alertCopy"></p>
|
<p v-else class="m-0 text-body" v-html="alertCopy"></p>
|
||||||
|
|
@ -131,10 +131,6 @@ export default {
|
||||||
& p {
|
& p {
|
||||||
font-size: .875rem;
|
font-size: .875rem;
|
||||||
margin-bottom: 0.25rem !important;
|
margin-bottom: 0.25rem !important;
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue