mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-06 02:48:04 +00:00
fix(ui): use correct field name for prompt clone title suffix
This commit is contained in:
parent
b1d40f3409
commit
c3165c1539
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@
|
|||
const cloneHandler = async (prompt) => {
|
||||
const clonedPrompt = { ...prompt };
|
||||
|
||||
clonedPrompt.title = `${clonedPrompt.title} (Clone)`;
|
||||
clonedPrompt.name = `${clonedPrompt.name} (Clone)`;
|
||||
const baseCommand = clonedPrompt.command.startsWith('/')
|
||||
? clonedPrompt.command.substring(1)
|
||||
: clonedPrompt.command;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue