From 0ef31accb8071365822183cd1133a708102ebe57 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 21 Jun 2021 09:58:24 +0100 Subject: [PATCH] Add confirmation params for some actions --- .../EventsEditor/actions/DeleteRow.svelte | 17 +++++-- .../EventsEditor/actions/ExecuteQuery.svelte | 48 ++++++++++++------- .../EventsEditor/actions/SaveFields.svelte | 2 +- .../EventsEditor/actions/SaveRow.svelte | 46 +++++++++++++----- .../actions/TriggerAutomation.svelte | 32 ++++++++++--- .../EventsEditor/actions/ValidateForm.svelte | 11 ++--- 6 files changed, 108 insertions(+), 48 deletions(-) diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/DeleteRow.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/DeleteRow.svelte index 5092ca0773..aa657beea5 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/DeleteRow.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/EventsEditor/actions/DeleteRow.svelte @@ -1,5 +1,5 @@ - + + {/if} + + {#if query?.parameters?.length > 0} +
+ + +
+ {/if} + {/if} {/if}
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 f4a4bea334..bf88ed2caf 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 @@ -79,7 +79,7 @@ on:click={() => removeField(field[0])} /> {/each} -
+