fix: fix error handler new script if no modules

This commit is contained in:
Ruben Fiszel
2024-09-05 12:08:42 +02:00
parent df720260b8
commit 32f2d0fc80
@@ -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