fix(ui): use correct field name for prompt clone title suffix (#25800)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user