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"
|
v-if="displayMatchedDifferentVehicleAlert"
|
||||||
ref="alertMatchedDifferentVehicle"
|
ref="alertMatchedDifferentVehicle"
|
||||||
class="mb-4 mt-4"
|
class="mb-4 mt-4"
|
||||||
|
cmsWidgetName="AlertMatchedDifferentVehicleWidget"
|
||||||
:manualHeadline="AlertMatchedDifferentVehicleHeader"
|
:manualHeadline="AlertMatchedDifferentVehicleHeader"
|
||||||
:manualCopy="AlertMatchedDifferentVehicleBody"
|
:manualCopy="AlertMatchedDifferentVehicleBody"
|
||||||
alertClass="alert-warning"
|
alertClass="alert-warning"
|
||||||
|
|
@ -41,9 +42,7 @@
|
||||||
ref="alertMatchedTwoIdenticalYMMVehicle"
|
ref="alertMatchedTwoIdenticalYMMVehicle"
|
||||||
class="mb-4 mt-4"
|
class="mb-4 mt-4"
|
||||||
cmsWidgetName="AlertMatchedTwoIdenticalYMMVehicleWidget"
|
cmsWidgetName="AlertMatchedTwoIdenticalYMMVehicleWidget"
|
||||||
:manualHeadline="
|
:manualHeadline="AlertMatchedTwoIdenticalYMMVehicleHeader"
|
||||||
AlertMatchedTwoIdenticalYMMVehicleHeader
|
|
||||||
"
|
|
||||||
:manualCopy="AlertMatchedTwoIdenticalYMMVehicleBody"
|
:manualCopy="AlertMatchedTwoIdenticalYMMVehicleBody"
|
||||||
alertClass="alert-warning"
|
alertClass="alert-warning"
|
||||||
:isDismissible="false" />
|
:isDismissible="false" />
|
||||||
|
|
@ -176,11 +175,7 @@ export default {
|
||||||
`${this.customAlertData?.vehicleInfo?.year} ${this.customAlertData?.vehicleInfo?.make} ${this.customAlertData?.vehicleInfo?.model} ${this.customAlertData?.vehicleInfo?.style}`;
|
`${this.customAlertData?.vehicleInfo?.year} ${this.customAlertData?.vehicleInfo?.make} ${this.customAlertData?.vehicleInfo?.model} ${this.customAlertData?.vehicleInfo?.style}`;
|
||||||
const vinYmmsExpected =
|
const vinYmmsExpected =
|
||||||
// eslint-disable-next-line max-len
|
// eslint-disable-next-line max-len
|
||||||
`${useMainStore().order.vehicle.year} ${
|
`${useMainStore().order.vehicle.year} ${useMainStore().order.vehicle.make} ${useMainStore().order.vehicle.model} ${useMainStore().order.vehicle.style}`;
|
||||||
useMainStore().order.vehicle.make
|
|
||||||
} ${useMainStore().order.vehicle.model} ${
|
|
||||||
useMainStore().order.vehicle.style
|
|
||||||
}`;
|
|
||||||
|
|
||||||
return this.getCmsContent(
|
return this.getCmsContent(
|
||||||
'AlertMatchedTwoIdenticalYMMVehicleWidget',
|
'AlertMatchedTwoIdenticalYMMVehicleWidget',
|
||||||
|
|
@ -269,10 +264,7 @@ export default {
|
||||||
|
|
||||||
this.isCarIdDifferent =
|
this.isCarIdDifferent =
|
||||||
carFound.carId !== useMainStore().order.vehicle.carId;
|
carFound.carId !== useMainStore().order.vehicle.carId;
|
||||||
if (
|
if (this.isCarIdDifferent && carFound.carId !== this.previouslyEnteredCarId) {
|
||||||
this.isCarIdDifferent
|
|
||||||
&& carFound.carId !== this.previouslyEnteredCarId
|
|
||||||
) {
|
|
||||||
// Display Alert
|
// Display Alert
|
||||||
this.previouslyEnteredCarId = carFound.carId;
|
this.previouslyEnteredCarId = carFound.carId;
|
||||||
this.customAlertData.vehicleInfo = carFound;
|
this.customAlertData.vehicleInfo = carFound;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue