Merge pull request #261 from ArnasDon/fix/256-condition-three-outputs

fix(automations): remove spurious third output on condition steps
This commit is contained in:
Arnas Donauskas 2026-06-18 11:25:59 +03:00 committed by GitHub
commit 34e8498a67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -927,9 +927,14 @@ function StepRenderer({
)} )}
</div> </div>
{/* A condition branches into Yes/No (rendered above by
ConditionBranches), so it has no linear "continue" path — adding
the trailing connector here would produce a spurious third output. */}
{!isCondition && (
<AddButton <AddButton
onPick={(t) => props.addStepAt(parentScope, index + 1, t)} onPick={(t) => props.addStepAt(parentScope, index + 1, t)}
/> />
)}
</> </>
) )
} }