mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
Update Prompts.svelte
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
let filteredPrompts = [];
|
||||
|
||||
$: {
|
||||
if (command && command.length > 1) {
|
||||
if (command && command.length > 0) {
|
||||
const commandName = command.substring(1).toLowerCase();
|
||||
const cleanedCommandName = commandName.replace(/<\/?p>/gi, '').trim();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user