Add empty state when automations have no steps

This commit is contained in:
Andrew Kingston 2020-09-30 15:14:16 +01:00
parent 162f91dc82
commit 5c85ffeb90
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)}