fix(ui): use correct field name for prompt clone title suffix

This commit is contained in:
silentoplayz 2026-06-07 14:03:29 -04:00
parent b1d40f3409
commit c3165c1539

View file

@ -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;