diff --git a/packages/builder/src/components/automation/AutomationPanel/AutomationList.svelte b/packages/builder/src/components/automation/AutomationPanel/AutomationList.svelte index c4a39d69b9..f7ca959979 100644 --- a/packages/builder/src/components/automation/AutomationPanel/AutomationList.svelte +++ b/packages/builder/src/components/automation/AutomationPanel/AutomationList.svelte @@ -9,6 +9,9 @@ onMount(() => { automationStore.actions.fetch() }) + function selectAutomation(automation) { + automationStore.actions.select(automation) + }
@@ -18,7 +21,7 @@ icon="ri-stackshare-line" text={automation.name} selected={automation._id === selectedAutomationId} - on:click={() => automationStore.actions.select(automation)}> + on:click={() => selectAutomation(automation)}> {/each} diff --git a/packages/builder/src/pages/[application]/automate/[automation]/_layout.svelte b/packages/builder/src/pages/[application]/automate/[automation]/_layout.svelte index 28234decc3..ce6917df6b 100644 --- a/packages/builder/src/pages/[application]/automate/[automation]/_layout.svelte +++ b/packages/builder/src/pages/[application]/automate/[automation]/_layout.svelte @@ -1,6 +1,15 @@ + + diff --git a/packages/builder/src/pages/[application]/automate/index.svelte b/packages/builder/src/pages/[application]/automate/index.svelte index 1a15ed48c6..8ef6090d90 100644 --- a/packages/builder/src/pages/[application]/automate/index.svelte +++ b/packages/builder/src/pages/[application]/automate/index.svelte @@ -1,5 +1,21 @@