aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>2025-12-03 17:13:02 +0000
committercopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>2025-12-03 17:13:02 +0000
commit52fee458c232fb2146f2b11a152994482db96980 (patch)
tree5734b29f0df35f1632aa96499a97e1f323ee0f4e
parentca0d048636441c74393c351ae8a6251c1c3ff33d (diff)
downloadslskd-52fee458c232fb2146f2b11a152994482db96980.tar.gz
Make chat rooms search filter case-insensitive
Co-authored-by: jpdillingham <17145758+jpdillingham@users.noreply.github.com>
-rw-r--r--src/web/src/components/Rooms/RoomJoinModal.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/web/src/components/Rooms/RoomJoinModal.jsx b/src/web/src/components/Rooms/RoomJoinModal.jsx
index 39c46248..5a6cf0c2 100644
--- a/src/web/src/components/Rooms/RoomJoinModal.jsx
+++ b/src/web/src/components/Rooms/RoomJoinModal.jsx
@@ -33,7 +33,9 @@ const RoomJoinModal = ({ joinRoom: parentJoinRoom, ...modalOptions }) => {
}, [open]);
const sortedAvailable = useMemo(() => {
- const sorted = [...available].filter((room) => room.name.includes(filter));
+ const sorted = [...available].filter((room) =>
+ room.name.toLowerCase().includes(filter.toLowerCase()),
+ );
sorted.sort((a, b) => {
if (sortOrder === 'asc') {