|
|
|
@ -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 @@ |
|
|
|
}) |
|
|
|
</script> |
|
|
|
|
|
|
|
<i>Create your first automation to get started</i> |
|
|
|
|
|
|
|
{#if automationCount === 0} |
|
|
|
<i>Create your first automation to get started</i> |
|
|
|
{:else}<i>Select an automation to edit</i>{/if} |
|
|
|
|
|
|
|
<style> |
|
|
|
i { |
|
|
|
font-size: var(--font-size-m); |
|
|
|
color: var(--grey-5); |
|
|
|
margin-top: 2px; |
|
|
|
} |
|
|
|
</style> |