From 9bd1743ea0ef097dea79920200bb0e7ba673c1e9 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 25 Sep 2020 15:01:48 +0100 Subject: [PATCH 1/2] Rename records to rows in automation definitions --- .../ParamInputs/RecordSelector.svelte | 10 ++++++++-- .../src/automations/steps/deleteRecord.js | 12 +++++------ .../src/automations/steps/saveRecord.js | 12 +++++------ .../src/automations/steps/updateRecord.js | 8 ++++---- packages/server/src/automations/triggers.js | 20 +++++++++---------- 5 files changed, 34 insertions(+), 28 deletions(-) diff --git a/packages/builder/src/components/automation/SetupPanel/ParamInputs/RecordSelector.svelte b/packages/builder/src/components/automation/SetupPanel/ParamInputs/RecordSelector.svelte index d560107642..87ff341f3b 100644 --- a/packages/builder/src/components/automation/SetupPanel/ParamInputs/RecordSelector.svelte +++ b/packages/builder/src/components/automation/SetupPanel/ParamInputs/RecordSelector.svelte @@ -28,9 +28,9 @@ {#if schemaFields.length} -
+
{#each schemaFields as [field, schema]} -
+
{#if schemaHasOptions(schema)}
{field}