diff --git a/src/components/Cars/Status/__snapshots__/DigitalTwinTab.test.jsx.snap b/src/components/Cars/Status/__snapshots__/DigitalTwinTab.test.jsx.snap index f12a979..c7e54ae 100644 --- a/src/components/Cars/Status/__snapshots__/DigitalTwinTab.test.jsx.snap +++ b/src/components/Cars/Status/__snapshots__/DigitalTwinTab.test.jsx.snap @@ -237,6 +237,17 @@ exports[`DigitalTwinTab Render 1`] = ` 77.7 km/h

+
+

+ + Parked + + : + Yes +

+
{ if (value || value === 0) return `${value}${units}`; @@ -32,7 +34,7 @@ const windowState = (value) => { const DigitalTwin = (props) => { const classes = useStyles(); - const { battery, doors, location, trex_version, ip, updated, windows, misc_windows, sunroof, dbc_version, door_locks, vcu0x260, charging_metrics, max_range, vehicle_speed } = props; + const { battery, doors, location, trex_version, ip, updated, windows, misc_windows, sunroof, dbc_version, door_locks, vcu0x260, charging_metrics, max_range, vehicle_speed, gear } = props; return (
@@ -133,6 +135,11 @@ const DigitalTwin = (props) => { {keyValueTemplate("Vehicle Speed", appendUnits(vehicle_speed?.speed, " km/h"))}
)} + {gear && ( +
+ {keyValueTemplate("Parked", gear.in_park ? PARKED : NOT_PARKED)} +
+ )}
); };