Merge pull request #2243 from mslourens/bug/automation_crash

Automation crash
This commit is contained in:
Martin McKeaveney 2021-08-04 09:49:15 +01:00 committed by GitHub
commit 66eecc4041
1 changed files with 1 additions and 1 deletions

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}