diff options
author | Anton Tananaev <anton@traccar.org> | 2024-04-07 14:59:17 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-04-07 14:59:17 -0700 |
commit | b096e22dc6f4a39ca5b1cc9daff5eabe9b5c8ff9 (patch) | |
tree | 9fa9a27ea111c6c743aa898a4dafa6bafd95f0a1 | |
parent | fc37186dd01d96411c3550afaa0ca0b74a5c5265 (diff) | |
download | trackermap-web-b096e22dc6f4a39ca5b1cc9daff5eabe9b5c8ff9.tar.gz trackermap-web-b096e22dc6f4a39ca5b1cc9daff5eabe9b5c8ff9.tar.bz2 trackermap-web-b096e22dc6f4a39ca5b1cc9daff5eabe9b5c8ff9.zip |
Only show name
-rw-r--r-- | src/other/PositionPage.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/other/PositionPage.jsx b/src/other/PositionPage.jsx index f253cd2c..e64ee491 100644 --- a/src/other/PositionPage.jsx +++ b/src/other/PositionPage.jsx @@ -87,14 +87,14 @@ const PositionPage = () => { {item && Object.getOwnPropertyNames(item).filter((it) => it !== 'attributes').map((property) => ( <TableRow key={property}> <TableCell>{property}</TableCell> - <TableCell><strong>{positionAttributes[property]?.name || property}</strong></TableCell> + <TableCell><strong>{positionAttributes[property]?.name}</strong></TableCell> <TableCell><PositionValue position={item} property={property} /></TableCell> </TableRow> ))} {item && Object.getOwnPropertyNames(item.attributes).map((attribute) => ( <TableRow key={attribute}> <TableCell>{attribute}</TableCell> - <TableCell><strong>{positionAttributes[attribute]?.name || attribute}</strong></TableCell> + <TableCell><strong>{positionAttributes[attribute]?.name}</strong></TableCell> <TableCell><PositionValue position={item} attribute={attribute} /></TableCell> </TableRow> ))} |