mirror of
https://github.com/open-webui/open-webui
synced 2025-06-09 16:07:54 +00:00
fix: search
This commit is contained in:
parent
b6d9cf3bc8
commit
3848b2c8ed
@ -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 New Issue
Block a user