Add CarId to data layer
This commit is contained in:
parent
5b96ae5d7b
commit
f05a52ae13
1 changed files with 6 additions and 0 deletions
|
|
@ -354,6 +354,12 @@ export default {
|
||||||
payload.vehicleStyle = "";
|
payload.vehicleStyle = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isDefined(order.vehicle.carId)) {
|
||||||
|
payload.carId = order.vehicle.carId;
|
||||||
|
} else {
|
||||||
|
payload.carId = "";
|
||||||
|
}
|
||||||
|
|
||||||
// Glass pieces
|
// Glass pieces
|
||||||
const glass = order.damage.glassToReplace ?? [];
|
const glass = order.damage.glassToReplace ?? [];
|
||||||
if (glass.length === 0) {
|
if (glass.length === 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue