Browse Source

Add empty state when automations have no steps

gh-pages
Andrew Kingston 6 years ago
parent
commit
8c0902f6a1
  1. 2
      packages/builder/src/components/automation/AutomationBuilder/flowchart/FlowChart.svelte

2
packages/builder/src/components/automation/AutomationBuilder/flowchart/FlowChart.svelte

@ -25,6 +25,8 @@
<i>Create your first automation to get started</i>
{:else if automation == null}
<i>Select an automation to edit</i>
{:else if !blocks.length}
<i>Add some steps to your automation to get started</i>
{/if}
<section class="canvas">
{#each blocks as block, idx (block.id)}

Loading…
Cancel
Save