Merge pull request #3190 from Safelite/feature/CASH-2697
Add CarId to data layer
This commit is contained in:
commit
97913fdc24
1 changed files with 6 additions and 0 deletions
|
|
@ -354,6 +354,12 @@ export default {
|
|||
payload.vehicleStyle = "";
|
||||
}
|
||||
|
||||
if (isDefined(order.vehicle.carId)) {
|
||||
payload.carId = order.vehicle.carId;
|
||||
} else {
|
||||
payload.carId = "";
|
||||
}
|
||||
|
||||
// Glass pieces
|
||||
const glass = order.damage.glassToReplace ?? [];
|
||||
if (glass.length === 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue