From c5df68973e4511de1574254538d15809c4dc1d86 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Wed, 28 Jun 2023 15:05:46 +0100 Subject: [PATCH] update Trigger Automation button action to be more intuitive --- .../actions/TriggerAutomation.svelte | 154 +++++------------- 1 file changed, 44 insertions(+), 110 deletions(-) diff --git a/packages/builder/src/components/design/settings/controls/ButtonActionEditor/actions/TriggerAutomation.svelte b/packages/builder/src/components/design/settings/controls/ButtonActionEditor/actions/TriggerAutomation.svelte index 4c54761650..2786d9ff50 100644 --- a/packages/builder/src/components/design/settings/controls/ButtonActionEditor/actions/TriggerAutomation.svelte +++ b/packages/builder/src/components/design/settings/controls/ButtonActionEditor/actions/TriggerAutomation.svelte @@ -1,7 +1,7 @@
-
-
- - -
-
- - -
-
-
- - {#if automationStatus === AUTOMATION_STATUS.EXISTING} +
- {/if} - - {#if parameters.synchronous} -
+
+
+ + {#if parameters.synchronous} +
- +
{/if} +
+
+ {#if selectedSchema && selectedSchema.length} + {#each selectedSchema as field, idx} + {#if idx === 0} + + {:else} +
+ +
- -
- {#key parameters.automationId} - - {/key} -