From 8f3f03ef7d4f57846581e445241528d704d21257 Mon Sep 17 00:00:00 2001 From: Dean Date: Wed, 3 Jul 2024 16:33:01 +0100 Subject: [PATCH] PR feedback changes --- .../automation/SetupPanel/AutomationBlockSetup.svelte | 3 +-- .../src/components/automation/SetupPanel/RowSelector.svelte | 3 +-- .../components/automation/SetupPanel/RowSelectorTypes.svelte | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte index 55c18a6503..562b3bcbe0 100644 --- a/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte +++ b/packages/builder/src/components/automation/SetupPanel/AutomationBlockSetup.svelte @@ -116,8 +116,7 @@ disableWrapping: true, }) $: editingJs = codeMode === EditorModes.JS - $: requiredProperties = - block.schema[isTestModal ? "outputs" : "inputs"].required || [] + $: requiredProperties = isTestModal ? [] : block.schema["inputs"].required $: stepCompletions = codeMode === EditorModes.Handlebars diff --git a/packages/builder/src/components/automation/SetupPanel/RowSelector.svelte b/packages/builder/src/components/automation/SetupPanel/RowSelector.svelte index edfdb4d834..1427956de8 100644 --- a/packages/builder/src/components/automation/SetupPanel/RowSelector.svelte +++ b/packages/builder/src/components/automation/SetupPanel/RowSelector.svelte @@ -97,7 +97,6 @@ delete editableFields[column] } } - editableFields = editableFields } // Go through the table schema and build out the editable content @@ -133,7 +132,7 @@ [key]: emptyField, } } else { - // Purge from the update as it's presence is not necessary. + // Purge from the update as its presence is not necessary. delete editableRow[key] } } diff --git a/packages/builder/src/components/automation/SetupPanel/RowSelectorTypes.svelte b/packages/builder/src/components/automation/SetupPanel/RowSelectorTypes.svelte index a5aac94606..85d57e665a 100644 --- a/packages/builder/src/components/automation/SetupPanel/RowSelectorTypes.svelte +++ b/packages/builder/src/components/automation/SetupPanel/RowSelectorTypes.svelte @@ -277,7 +277,7 @@ } .field-wrap.json-field { - height: 80px; + height: 120px; } .field-wrap {