From fe135fc6d7af76416e2bce6c1d3003c94e0495d8 Mon Sep 17 00:00:00 2001 From: FlaminWrap Date: Sat, 5 Nov 2022 00:20:38 +0000 Subject: [PATCH] Afterthought Remembered that idx === 0 is the same as isTrigger --- .../AutomationBuilder/FlowChart/FlowItemHeader.svelte | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItemHeader.svelte b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItemHeader.svelte index 2f8dbce67e..bc40b7bf85 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItemHeader.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowItemHeader.svelte @@ -72,14 +72,11 @@ {/if}
- {#if idx === 0} - Trigger - {:else} - Step {idx} - {/if} {#if isTrigger} + Trigger When this happens: {:else} + Step {idx} Do this: {/if} {block?.name?.toUpperCase() || ""}