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

fix: search
This commit is contained in:
Timothy Jaeryang Baek authored and GitHub committed 2024-01-24 23:51:53 -08:00
commit 39986c4ec8
1 file changed
+2 -1
+2 -1
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;