Feat: add duplicate workflow on sidebar (#4895)

This commit is contained in:
Sidharth
2025-08-13 00:34:29 +05:30
committed by GitHub
parent 1cf8087be0
commit d068b8351e
10 changed files with 43 additions and 8 deletions

View File

@@ -265,6 +265,14 @@ const renderTreeNode = (
const workflow = node.data
await workflowService.insertWorkflow(workflow)
}
},
{
label: t('g.duplicate'),
icon: 'pi pi-file-export',
command: async () => {
const workflow = node.data
await workflowService.duplicateWorkflow(workflow)
}
}
]
},