Add empty state when automations have no steps
This commit is contained in:
parent
c7cb8e4c68
commit
8c0902f6a1
|
@ -25,6 +25,8 @@
|
||||||
<i>Create your first automation to get started</i>
|
<i>Create your first automation to get started</i>
|
||||||
{:else if automation == null}
|
{:else if automation == null}
|
||||||
<i>Select an automation to edit</i>
|
<i>Select an automation to edit</i>
|
||||||
|
{:else if !blocks.length}
|
||||||
|
<i>Add some steps to your automation to get started</i>
|
||||||
{/if}
|
{/if}
|
||||||
<section class="canvas">
|
<section class="canvas">
|
||||||
{#each blocks as block, idx (block.id)}
|
{#each blocks as block, idx (block.id)}
|
||||||
|
|
Loading…
Reference in New Issue