From 2f03f4acb2484d3989cb013510acb57ad7593a3c Mon Sep 17 00:00:00 2001 From: Maurits Lourens Date: Tue, 3 Aug 2021 22:29:47 +0200 Subject: [PATCH] fix bug when an automation was selected but not present anymore --- .../src/components/automation/SetupPanel/SetupPanel.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/components/automation/SetupPanel/SetupPanel.svelte b/packages/builder/src/components/automation/SetupPanel/SetupPanel.svelte index 06a0df1afa..3ba59f36a6 100644 --- a/packages/builder/src/components/automation/SetupPanel/SetupPanel.svelte +++ b/packages/builder/src/components/automation/SetupPanel/SetupPanel.svelte @@ -60,7 +60,7 @@ bind:block={$automationStore.selectedBlock} {webhookModal} /> -{:else if $automationStore.selectedAutomation} +{:else if automation}
{automation.name}
{/if}