Add empty state when automations have no steps

This commit is contained in:
Andrew Kingston 2020-09-30 15:14:16 +01:00
parent c7cb8e4c68
commit 8c0902f6a1
1 changed files with 2 additions and 0 deletions

View File

@ -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)}