diff options
author | Iván Ávalos <avalos@disroot.org> | 2024-06-14 21:17:27 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2024-06-14 21:17:27 -0600 |
commit | 5f064d0a7743abdd9ffe645de1ffd55bb5c4f72f (patch) | |
tree | cc0f3eb2424e7f05123f9a7b0547968a6091fdf4 /src/main/DeviceRow.jsx | |
parent | e9cdc61de90ef44dc2edd1c82d10f2f29803715e (diff) | |
download | trackermap-web-5f064d0a7743abdd9ffe645de1ffd55bb5c4f72f.tar.gz trackermap-web-5f064d0a7743abdd9ffe645de1ffd55bb5c4f72f.tar.bz2 trackermap-web-5f064d0a7743abdd9ffe645de1ffd55bb5c4f72f.zip |
Revert DeviceRow to original layout
Diffstat (limited to 'src/main/DeviceRow.jsx')
-rw-r--r-- | src/main/DeviceRow.jsx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/main/DeviceRow.jsx b/src/main/DeviceRow.jsx index d9357c9d..b7c2646e 100644 --- a/src/main/DeviceRow.jsx +++ b/src/main/DeviceRow.jsx @@ -115,21 +115,6 @@ const DeviceRow = ({ data, index, style }) => { return ( <> {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 - key={key} - attr={key} - name={positionAttributes[key]?.name || key} - content={( - <PositionValue - position={position} - property={position.hasOwnProperty(key) ? key : null} - attribute={position.hasOwnProperty(key) ? null : key} - /> - )} - /> - ))} </> ); }; |