Merge pull request #748 from Safelite/feature/richardson/SSR-1349
3 small formatting updates and a widgetName to remove a message.
This commit is contained in:
commit
20f8a5b0ac
1 changed files with 4 additions and 12 deletions
|
|
@ -32,6 +32,7 @@
|
|||
v-if="displayMatchedDifferentVehicleAlert"
|
||||
ref="alertMatchedDifferentVehicle"
|
||||
class="mb-4 mt-4"
|
||||
cmsWidgetName="AlertMatchedDifferentVehicleWidget"
|
||||
:manualHeadline="AlertMatchedDifferentVehicleHeader"
|
||||
:manualCopy="AlertMatchedDifferentVehicleBody"
|
||||
alertClass="alert-warning"
|
||||
|
|
@ -41,9 +42,7 @@
|
|||
ref="alertMatchedTwoIdenticalYMMVehicle"
|
||||
class="mb-4 mt-4"
|
||||
cmsWidgetName="AlertMatchedTwoIdenticalYMMVehicleWidget"
|
||||
:manualHeadline="
|
||||
AlertMatchedTwoIdenticalYMMVehicleHeader
|
||||
"
|
||||
:manualHeadline="AlertMatchedTwoIdenticalYMMVehicleHeader"
|
||||
:manualCopy="AlertMatchedTwoIdenticalYMMVehicleBody"
|
||||
alertClass="alert-warning"
|
||||
:isDismissible="false" />
|
||||
|
|
@ -176,11 +175,7 @@ export default {
|
|||
`${this.customAlertData?.vehicleInfo?.year} ${this.customAlertData?.vehicleInfo?.make} ${this.customAlertData?.vehicleInfo?.model} ${this.customAlertData?.vehicleInfo?.style}`;
|
||||
const vinYmmsExpected =
|
||||
// eslint-disable-next-line max-len
|
||||
`${useMainStore().order.vehicle.year} ${
|
||||
useMainStore().order.vehicle.make
|
||||
} ${useMainStore().order.vehicle.model} ${
|
||||
useMainStore().order.vehicle.style
|
||||
}`;
|
||||
`${useMainStore().order.vehicle.year} ${useMainStore().order.vehicle.make} ${useMainStore().order.vehicle.model} ${useMainStore().order.vehicle.style}`;
|
||||
|
||||
return this.getCmsContent(
|
||||
'AlertMatchedTwoIdenticalYMMVehicleWidget',
|
||||
|
|
@ -269,10 +264,7 @@ export default {
|
|||
|
||||
this.isCarIdDifferent =
|
||||
carFound.carId !== useMainStore().order.vehicle.carId;
|
||||
if (
|
||||
this.isCarIdDifferent
|
||||
&& carFound.carId !== this.previouslyEnteredCarId
|
||||
) {
|
||||
if (this.isCarIdDifferent && carFound.carId !== this.previouslyEnteredCarId) {
|
||||
// Display Alert
|
||||
this.previouslyEnteredCarId = carFound.carId;
|
||||
this.customAlertData.vehicleInfo = carFound;
|
||||
|
|
|
|||
Loading…
Reference in a new issue