Merge pull request #565 from ollama-webui/search-fix

fix: search
This commit is contained in:
Timothy Jaeryang Baek 2024-01-24 23:51:53 -08:00 committed by GitHub
commit 39986c4ec8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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