Browse Source

fix bug when an automation was selected but not present anymore

pull/2243/head
Maurits Lourens 5 years ago
parent
commit
5ad0f2cb57
  1. 2
      packages/builder/src/components/automation/SetupPanel/SetupPanel.svelte

2
packages/builder/src/components/automation/SetupPanel/SetupPanel.svelte

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

Loading…
Cancel
Save