aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/DevicesList.js2
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}>