Skip to content

Commit d646ee1

Browse files
committed
fix: include loops and parallels in validation (addressing review feedback)
1 parent 30c68ae commit d646ee1

File tree

1 file changed

+2
-0
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel

1 file changed

+2
-0
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/panel.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,8 @@ export const Panel = memo(function Panel() {
362362
const result = validateWorkflowState({
363363
blocks: state.blocks,
364364
edges: state.edges,
365+
loops: state.loops || {},
366+
parallels: state.parallels || {},
365367
})
366368
return !result.valid
367369
})

0 commit comments

Comments
 (0)