feat(ui): shared workflow node dropdown menu

This commit is contained in:
Fu Diwei
2025-01-07 00:57:10 +08:00
parent 84c36a4eec
commit 9a937fa072
9 changed files with 203 additions and 121 deletions

View File

@@ -35,8 +35,6 @@ const AddNode = ({ node, disabled }: AddNodeProps) => {
label: t(label as string),
icon: icon,
onClick: () => {
if (disabled) return;
const nextNode = newNode(type as WorkflowNodeType);
addNode(nextNode, node.id);
},