From 859653c62b65f56fc1d4e730641ded09f8ae94c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Mon, 15 Mar 2021 15:27:29 +0100 Subject: [PATCH] cleanup --- .../src/pages/[application]/automate/index.svelte | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/builder/src/pages/[application]/automate/index.svelte b/packages/builder/src/pages/[application]/automate/index.svelte index b9e0090d22..98e5b80a18 100644 --- a/packages/builder/src/pages/[application]/automate/index.svelte +++ b/packages/builder/src/pages/[application]/automate/index.svelte @@ -3,8 +3,6 @@ import { onMount } from 'svelte' import { automationStore } from "builderStore" - $: automationCount = $automationStore.automations?.length ?? 0 - onMount(async () => { // navigate to first automation in list, if not already selected if ( @@ -17,8 +15,12 @@ }) +Create your first automation to get started -{#if automationCount === 0} - Create your first automation to get started -{:else}Select an automation to edit{/if} - + \ No newline at end of file