From 99d81fa367a2a0864474c3eb6bbb5742c4bd8df0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Fri, 26 Feb 2021 17:46:18 +0100 Subject: [PATCH] revert Automate block that accidently made it in to this PR --- .../AutomationBuilder/FlowChart/FlowChart.svelte | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowChart.svelte b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowChart.svelte index e62b6b3ff2..48bafb8cd3 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowChart.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/FlowChart.svelte @@ -2,7 +2,6 @@ import FlowItem from "./FlowItem.svelte" import Arrow from "./Arrow.svelte" import { flip } from "svelte/animate" - import {dndzone} from "svelte-dnd-action"; import { fade, fly } from "svelte/transition" export let automation @@ -18,22 +17,14 @@ blocks = blocks.concat(automation.definition.steps || []) } } - - const flipDurationMs = 300; - function handleDndConsider(e) { - blocks = e.detail.items; - } - function handleDndFinalize(e) { - blocks = e.detail.items; - } {#if !blocks.length}Add a trigger to your automation to get started{/if} -
+
{#each blocks as block, idx (block.id)}