1
0
Fork 0
mirror of synced 2024-07-05 22:40:39 +12:00

fix bug when an automation was selected but not present anymore

This commit is contained in:
Maurits Lourens 2021-08-03 22:29:47 +02:00
parent 92b415d109
commit 2f03f4acb2

View file

@ -60,7 +60,7 @@
bind:block={$automationStore.selectedBlock} bind:block={$automationStore.selectedBlock}
{webhookModal} {webhookModal}
/> />
{:else if $automationStore.selectedAutomation} {:else if automation}
<div class="block-label">{automation.name}</div> <div class="block-label">{automation.name}</div>
<Button secondary on:click={testAutomation}>Test Automation</Button> <Button secondary on:click={testAutomation}>Test Automation</Button>
{/if} {/if}