diff --git a/src/components/nodes/ControlPanel.tsx b/src/components/nodes/ControlPanel.tsx index 95e8be98..888b155d 100644 --- a/src/components/nodes/ControlPanel.tsx +++ b/src/components/nodes/ControlPanel.tsx @@ -1062,6 +1062,8 @@ function EaseCurveControls({ node }: { node: Node }) { function ConditionalSwitchControls({ node }: { node: Node }) { const nodeData = node.data as ConditionalSwitchNodeData; const updateNodeData = useWorkflowStore((state) => state.updateNodeData); + const regenerateNode = useWorkflowStore((state) => state.regenerateNode); + const isRunning = useWorkflowStore((state) => state.isRunning); const [editingId, setEditingId] = useState(null); const handleRuleValueChange = useCallback( @@ -1177,6 +1179,17 @@ function ConditionalSwitchControls({ node }: { node: Node }) { > + Add Rule + +
+ +
); }