From 076ed09c38b88e052b4927b6b1a377a09f403a0b Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 17 Sep 2020 16:00:55 +0100 Subject: [PATCH] Fix delay workflow block setup --- .../components/workflow/SetupPanel/WorkflowBlockSetup.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/components/workflow/SetupPanel/WorkflowBlockSetup.svelte b/packages/builder/src/components/workflow/SetupPanel/WorkflowBlockSetup.svelte index a3edcca58e..f6f12c04f6 100644 --- a/packages/builder/src/components/workflow/SetupPanel/WorkflowBlockSetup.svelte +++ b/packages/builder/src/components/workflow/SetupPanel/WorkflowBlockSetup.svelte @@ -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,