feat(ui): shared workflow node dropdown menu
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user