fix: fix error handler new script if no modules

This commit is contained in:
Ruben Fiszel
2024-09-05 12:07:34 +02:00
parent fa2f5e1b3f
commit 881dfd10aa
@@ -134,7 +134,7 @@ export function getFailureStepPropPicker(flowState: FlowState, flow: OpenFlow, a
)
const flowInput = getFlowInput(
dfs(flow.value.modules[0].id, flow),
dfs(flow.value.modules?.[0]?.id, flow),
flowState,
args,
flow.schema as Schema