From 746362c4effb519fea59f514b168acfd46c91a68 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Fri, 29 Apr 2022 11:37:40 +0100 Subject: [PATCH] fix binding panel in automate --- .../SetupPanel/AutomationBlockSetup.svelte | 1 + .../automation/SetupPanel/RowSelector.svelte | 42 ++++++------------- .../SetupPanel/RowSelectorTypes.svelte | 5 ++- 3 files changed, 18 insertions(+), 30 deletions(-) diff --git a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte index 4333e4a2e5..68afc04886 100644 --- a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte +++ b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte @@ -265,6 +265,7 @@ value={inputData[key]} on:change={e => onChange(e, key)} {bindings} + {isTestModal} /> {:else if value.customType === "webhookUrl"} - {:else} - onChange(e, field, schema.type)} - label={field} - type="string" - {bindings} - fillWidth={true} - allowJS={true} - updateOnChange={false} - /> - {/if} - {:else if !rowControl} - + {#if !rowControl} + {:else} - {:else if schema.type === "string" || schema.type === "number"} - onChange(e, field)}