mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
fix(ui): use correct field name for prompt clone title suffix (#25800)
This commit is contained in:
parent
ab84bbf08c
commit
ea6d02da0f
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,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