From 5c85ffeb9082c3cca2736a8068614343c82b3c65 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)}