1
0
Fork 0
mirror of synced 2024-07-03 05:20:32 +12:00

Fix delay workflow block setup

This commit is contained in:
Andrew Kingston 2020-09-17 16:00:55 +01:00
parent 659ae0a641
commit 210080c834

View file

@ -27,7 +27,9 @@
// Extract all outputs from all previous steps as available bindings
let bindings = []
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(
outputs.map(([name, value]) => ({
label: name,