mirror of
https://github.com/Luchexx/wacrm.git
synced 2026-11-02 17:29:45 +00:00
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:
commit
34e8498a67
@ -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)}
|
||||||
/>
|
/>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user