fix bug when an automation was selected but not present anymore
This commit is contained in:
parent
b8d94c7cb5
commit
5ad0f2cb57
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue