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;
|
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;
|
||||||
|
|
Loading…
Reference in a new issue