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
01ad1979
Unverified
Commit
01ad1979
authored
Jun 25, 2024
by
silentoplayz
Committed by
GitHub
Jun 25, 2024
Browse files
Update PromptCommands.svelte
feat: case-insensitive prompt search
parent
9e4dd4b8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/lib/components/chat/MessageInput/PromptCommands.svelte
src/lib/components/chat/MessageInput/PromptCommands.svelte
+1
-1
No files found.
src/lib/components/chat/MessageInput/PromptCommands.svelte
View file @
01ad1979
...
...
@@ -12,7 +12,7 @@
let filteredPromptCommands = [];
$: filteredPromptCommands = $prompts
.filter((p) => p.command.includes(prompt))
.filter((p) => p.command.
toLowerCase().
includes(prompt
.toLowerCase()
))
.sort((a, b) => a.title.localeCompare(b.title));
$: if (prompt) {
...
...
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