From 2bafdfb6c24660da3058b67003a223d06fb6ab30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Mon, 15 Mar 2021 15:23:22 +0100 Subject: [PATCH] adds working automation routing --- .../automate/[automation]/index.svelte | 22 ++------------ .../pages/[application]/automate/index.svelte | 29 +++++++------------ 2 files changed, 13 insertions(+), 38 deletions(-) diff --git a/packages/builder/src/pages/[application]/automate/[automation]/index.svelte b/packages/builder/src/pages/[application]/automate/[automation]/index.svelte index a702864846..031a72fad3 100644 --- a/packages/builder/src/pages/[application]/automate/[automation]/index.svelte +++ b/packages/builder/src/pages/[application]/automate/[automation]/index.svelte @@ -1,22 +1,6 @@ - onMount(async () => { - console.log('Automation Store: ', $automationStore) - console.log('Automation Store Methods: ', automationStore) - // navigate to first automation in list, if not already selected - // if ( - // !$leftover && - // $backendUiStore.tables.length > 0 && - // (!$backendUiStore.selectedTable || !$backendUiStore.selectedTable._id) - // ) { - // // this file routes as .../tables/index, so, go up one. - // $goto(`../${$backendUiStore.tables[0]._id}`) - // } - }) - - - + \ No newline at end of file diff --git a/packages/builder/src/pages/[application]/automate/index.svelte b/packages/builder/src/pages/[application]/automate/index.svelte index 7d8899a055..b9e0090d22 100644 --- a/packages/builder/src/pages/[application]/automate/index.svelte +++ b/packages/builder/src/pages/[application]/automate/index.svelte @@ -1,22 +1,20 @@ @@ -24,10 +22,3 @@ Create your first automation to get started {:else}Select an automation to edit{/if} -