From 5ad0f2cb576eda9f3aff6f6a750b888c0f0a8785 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}