From 8c0902f6a12838bb14c67fb3929a065ce131f369 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 30 Sep 2020 15:14:16 +0100 Subject: [PATCH] Add empty state when automations have no steps --- .../automation/AutomationBuilder/flowchart/FlowChart.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/builder/src/components/automation/AutomationBuilder/flowchart/FlowChart.svelte b/packages/builder/src/components/automation/AutomationBuilder/flowchart/FlowChart.svelte index e2fdddb43e..09a0d097de 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/flowchart/FlowChart.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/flowchart/FlowChart.svelte @@ -25,6 +25,8 @@ Create your first automation to get started {:else if automation == null} Select an automation to edit +{:else if !blocks.length} + Add some steps to your automation to get started {/if}
{#each blocks as block, idx (block.id)}