Repository navigation
Commit 96006f6
authored
fix(workflows): keep condition and router branch connections when an edit re-sends the branches (#10307)
An operations edit that re-sent a condition's or router's branches renumbered their ids by position, leaving canvas-built branches' edges pointing at handles that no longer existed (or at a different expression after a reorder). Branch ids are now kept (unchanged row, then matching expression, then slot), edges from removed branches are dropped in the same mutation, exact handle ids win over aliases, and malformed condition rows are refused.1 parent f86f3ab commit 96006f6
4 files changed
Lines changed: 585 additions & 33 deletions
File tree
- apps/sim/lib/workflows
- application
- editing
0 commit comments