Fix delay workflow block setup
This commit is contained in:
parent
6b11add939
commit
076ed09c38
|
@ -27,7 +27,9 @@
|
||||||
// Extract all outputs from all previous steps as available bindings
|
// Extract all outputs from all previous steps as available bindings
|
||||||
let bindings = []
|
let bindings = []
|
||||||
for (let idx = 0; idx < blockIdx; idx++) {
|
for (let idx = 0; idx < blockIdx; idx++) {
|
||||||
const outputs = Object.entries(allSteps[idx].schema?.outputs?.properties)
|
const outputs = Object.entries(
|
||||||
|
allSteps[idx].schema?.outputs?.properties ?? {}
|
||||||
|
)
|
||||||
bindings = bindings.concat(
|
bindings = bindings.concat(
|
||||||
outputs.map(([name, value]) => ({
|
outputs.map(([name, value]) => ({
|
||||||
label: name,
|
label: name,
|
||||||
|
|
Loading…
Reference in New Issue