mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-24 16:01:42 +00:00
fix: fix error handler new script if no modules
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user