fix: search
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user