From 961588d3009596e4eb4dee5ef25d9fbdceec3f43 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Fri, 21 Oct 2022 20:43:09 +0200 Subject: [PATCH] nit pickable buttons for flows --- .../flows/content/FlowInputs.svelte | 34 ++++++++++--------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/frontend/src/lib/components/flows/content/FlowInputs.svelte b/frontend/src/lib/components/flows/content/FlowInputs.svelte index dd5d6d0103..031d3b49dd 100644 --- a/frontend/src/lib/components/flows/content/FlowInputs.svelte +++ b/frontend/src/lib/components/flows/content/FlowInputs.svelte @@ -19,7 +19,7 @@
Inline script
@@ -31,7 +31,7 @@ /> @@ -43,7 +43,7 @@ /> @@ -56,7 +56,7 @@ {#if !failureModule} @@ -68,12 +68,12 @@
@@ -86,7 +86,7 @@ dispatch('new', { language: RawScript.language.DENO, kind: 'trigger' })} @@ -105,15 +105,17 @@ />
-
Flow primitive
+ {#if !shouldDisableLoopCreation} +
Flow primitive
-
- dispatch('loop')} - /> -
+
+ dispatch('loop')} + /> +
+ {/if} {/if}