mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 16:02:19 +00:00
nit flow inputs
This commit is contained in:
@@ -74,7 +74,10 @@ function getFlowInput(
|
||||
if (parentState && parentModule) {
|
||||
if (
|
||||
parentState.previewArgs &&
|
||||
!(parentModule.value?.type === 'forloopflow' && parentModule.value?.modules?.length === 1)
|
||||
!(parentModule.value?.type === 'forloopflow' && parentModule.value?.modules?.length === 1) &&
|
||||
parentState &&
|
||||
typeof parentState.previewArgs == 'object' &&
|
||||
`iter` in parentState.previewArgs
|
||||
) {
|
||||
return { ...topFlowInput, ...parentState.previewArgs }
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user