forked from open-webui/open-webui
fix: search
This commit is contained in:
parent
b6d9cf3bc8
commit
3848b2c8ed
1 changed files with 2 additions and 1 deletions
|
@ -321,8 +321,9 @@
|
|||
return true;
|
||||
} else {
|
||||
let title = chat.title.toLowerCase();
|
||||
const query = search.toLowerCase();
|
||||
|
||||
if (title.includes(search)) {
|
||||
if (title.includes(query)) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue