diff options
author | Iván Ávalos <avalos@disroot.org> | 2024-04-25 20:18:35 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2024-04-25 20:18:35 -0600 |
commit | 1a7f95baad1939589e6a23bd31b42b8e094a736a (patch) | |
tree | bca6bc47b52fc4f41070f769907eefb19f8fe01a /src/main/DeviceRow.jsx | |
parent | 1e3347a1f247a4330fdc01249494d080758c4363 (diff) | |
download | trackermap-web-1a7f95baad1939589e6a23bd31b42b8e094a736a.tar.gz trackermap-web-1a7f95baad1939589e6a23bd31b42b8e094a736a.tar.bz2 trackermap-web-1a7f95baad1939589e6a23bd31b42b8e094a736a.zip |
Diffstat (limited to 'src/main/DeviceRow.jsx')
-rw-r--r-- | src/main/DeviceRow.jsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/DeviceRow.jsx b/src/main/DeviceRow.jsx index bf0103cc..d9357c9d 100644 --- a/src/main/DeviceRow.jsx +++ b/src/main/DeviceRow.jsx @@ -114,8 +114,7 @@ const DeviceRow = ({ data, index, style }) => { } return ( <> - {deviceSecondary && item[deviceSecondary] && `${item[deviceSecondary]} • `} - <span className={classes[getStatusColor(item.status)]}>{status}</span> + {deviceSecondary && item[deviceSecondary] && item[deviceSecondary]} {/* RATIONALE: clients want more info in the list */} {position && positionItems.split(',').filter((key) => position.hasOwnProperty(key) || position.attributes.hasOwnProperty(key)).map((key) => ( <AttrItem |