diff options
Diffstat (limited to 'modern')
-rw-r--r-- | modern/src/main/StatusCard.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/main/StatusCard.js b/modern/src/main/StatusCard.js index ec33efa2..d521749b 100644 --- a/modern/src/main/StatusCard.js +++ b/modern/src/main/StatusCard.js @@ -127,7 +127,7 @@ const StatusCard = ({ deviceId, onClose }) => { <TableContainer> <Table size="small" classes={{ root: classes.table }}> <TableBody> - {positionItems.map((key) => ( + {positionItems.filter((key) => position.hasOwnProperty(key) || position.attributes.hasOwnProperty(key)).map((key) => ( <StatusRow key={key} name={positionAttributes[key].name} |