diff options
-rw-r--r-- | modern/src/DevicesList.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/DevicesList.js b/modern/src/DevicesList.js index 3ffd421e..aa856306 100644 --- a/modern/src/DevicesList.js +++ b/modern/src/DevicesList.js @@ -83,7 +83,7 @@ const DeviceRow = ({ data, index, style }) => { const { items } = data; const item = items[index]; const position = useSelector((state) => state.positions.items[item.id]); - const showIgnition = true;// position?.attributes.hasOwnProperty('ignition') && position.attributes.ignition + const showIgnition = position?.attributes.hasOwnProperty('ignition') && position.attributes.ignition return ( <div style={style}> |