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}