Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
3848b2c8
Commit
3848b2c8
authored
Jan 24, 2024
by
Timothy J. Baek
Browse files
fix: search
parent
b6d9cf3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/lib/components/layout/Sidebar.svelte
src/lib/components/layout/Sidebar.svelte
+2
-1
No files found.
src/lib/components/layout/Sidebar.svelte
View file @
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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment