Commit a826b97
refactor(workflow): use pre-computed lock state from contextMenuBlocks
contextMenuBlocks already has locked and isParentLocked properties
computed in use-canvas-context-menu.ts, so there's no need to look
up blocks again via hasProtectedBlocks.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 813ec9b commit a826b97
File tree
1 file changed
+1
-5
lines changed- apps/sim/app/workspace/[workspaceId]/w/[workflowId]
1 file changed
+1
-5
lines changedLines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
| |||
3606 | 3605 | | |
3607 | 3606 | | |
3608 | 3607 | | |
3609 | | - | |
3610 | | - | |
3611 | | - | |
3612 | | - | |
| 3608 | + | |
3613 | 3609 | | |
3614 | 3610 | | |
3615 | 3611 | | |
| |||
0 commit comments