Merge pull request #3190 from Safelite/feature/CASH-2697

Add CarId to data layer
This commit is contained in:
chloeherdsafelite 2026-05-26 15:12:57 -04:00 committed by GitHub
commit 97913fdc24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {