From 79351d1bf0b947f044d45b9eb39dfd810261f86f Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 8 Feb 2021 10:01:38 +0000 Subject: [PATCH] Remove empty field in saving row action to make it more clear that it's optional --- .../PropertyControls/EventsEditor/actions/SaveFields.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/SaveFields.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/SaveFields.svelte index a27acab956..c8e3d5b4d5 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/SaveFields.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/SaveFields.svelte @@ -32,7 +32,7 @@ // this statement initialises fields from parameters.fields $: fields = fields || - Object.keys(parameterFields || { "": "" }).map(name => ({ + Object.keys(parameterFields || {}).map(name => ({ name, value: (parameterFields &&