aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorBoubrid Ihab <boubrid.ihab@gmail.com>2022-05-23 18:59:42 +0100
committerBoubrid Ihab <boubrid.ihab@gmail.com>2022-05-23 18:59:42 +0100
commitd377612dcd3920713ea083e5fa59dd7f94e52ad5 (patch)
treea5db8ffe61c79ecc8679f91c0b03047370ddfa0d /modern
parent6f7a3abf0cb2baba36b47685970b751e09f866d1 (diff)
parentebbf8eac7bb65812ebdaf80d833faf976212d087 (diff)
downloadtrackermap-web-d377612dcd3920713ea083e5fa59dd7f94e52ad5.tar.gz
trackermap-web-d377612dcd3920713ea083e5fa59dd7f94e52ad5.tar.bz2
trackermap-web-d377612dcd3920713ea083e5fa59dd7f94e52ad5.zip
Merge branch 'master' of github.com:traccar/traccar-web into fix-key-issue
Diffstat (limited to 'modern')
-rw-r--r--modern/src/main/StatusCard.js2
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}