fix: search

This commit is contained in:
Timothy J. Baek 2024-01-24 23:51:22 -08:00
parent b6d9cf3bc8
commit 3848b2c8ed

View file

@ -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;