diff options
author | Lucas Leite <lbl.lucasleite@gmail.com> | 2022-02-08 19:06:09 -0300 |
---|---|---|
committer | Lucas Leite <lbl.lucasleite@gmail.com> | 2022-02-08 19:06:09 -0300 |
commit | 110012324b5a58a48af1894b66b0068a444263db (patch) | |
tree | 261e25a5edc102fa31c19af1fe365ebb89cd8d34 /modern/src/DevicesList.js | |
parent | f35692eef0763fe853f3d88a18d6aefbbf5d0d2b (diff) | |
download | trackermap-web-110012324b5a58a48af1894b66b0068a444263db.tar.gz trackermap-web-110012324b5a58a48af1894b66b0068a444263db.tar.bz2 trackermap-web-110012324b5a58a48af1894b66b0068a444263db.zip |
Changed device list search
Diffstat (limited to 'modern/src/DevicesList.js')
-rw-r--r-- | modern/src/DevicesList.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/DevicesList.js b/modern/src/DevicesList.js index fdbdfcdf..10ac4fc7 100644 --- a/modern/src/DevicesList.js +++ b/modern/src/DevicesList.js @@ -137,7 +137,7 @@ const DeviceView = ({ updateTimestamp, onMenuClick, filter }) => { useEffect(() => { setFilteredItems( filter.trim().length > 0 - ? items.filter((item) => `${item.name} ${item.uniqueId} ${item.groupId}`.toLowerCase().includes(filter?.toLowerCase())) + ? items.filter((item) => `${item.name} ${item.uniqueId}`.toLowerCase().includes(filter?.toLowerCase())) : items, ); }, [filter, items]); |