Commit 3848b2c8 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: search

parent b6d9cf3b
...@@ -321,8 +321,9 @@ ...@@ -321,8 +321,9 @@
return true; return true;
} else { } else {
let title = chat.title.toLowerCase(); let title = chat.title.toLowerCase();
const query = search.toLowerCase();
if (title.includes(search)) { if (title.includes(query)) {
return true; return true;
} else { } else {
return false; return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment