aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-04-07 14:59:17 -0700
committerAnton Tananaev <anton@traccar.org>2024-04-07 14:59:17 -0700
commitb096e22dc6f4a39ca5b1cc9daff5eabe9b5c8ff9 (patch)
tree9fa9a27ea111c6c743aa898a4dafa6bafd95f0a1
parentfc37186dd01d96411c3550afaa0ca0b74a5c5265 (diff)
downloadtrackermap-web-upstream.tar.gz
trackermap-web-upstream.tar.bz2
trackermap-web-upstream.zip
Only show nameupstream
-rw-r--r--src/other/PositionPage.jsx4
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>
))}