feat(FlowEditor): allow adding new connection in step

This commit is contained in:
Ali BARIN
2022-10-15 19:13:28 +02:00
parent d83db08b81
commit ace2436e43
4 changed files with 66 additions and 8 deletions

View File

@@ -251,7 +251,7 @@ export default function FlowStep(
index: number
) => (
<React.Fragment key={`${substep?.name}-${index}`}>
{substep.key === 'chooseConnection' && (
{substep.key === 'chooseConnection' && app && (
<ChooseConnectionSubstep
expanded={currentSubstep === index + 1}
substep={substep}
@@ -259,6 +259,7 @@ export default function FlowStep(
onCollapse={() => toggleSubstep(index + 1)}
onSubmit={expandNextStep}
onChange={handleChange}
application={app}
step={step}
/>
)}