Unverified Commit 39986c4e authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

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

fix: search
parents b6d9cf3b 3848b2c8
...@@ -321,8 +321,9 @@ ...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment