diff --git a/frontend/src/lib/components/FlowStatusViewerInner.svelte b/frontend/src/lib/components/FlowStatusViewerInner.svelte
index 7c6812acff..529b01d53c 100644
--- a/frontend/src/lib/components/FlowStatusViewerInner.svelte
+++ b/frontend/src/lib/components/FlowStatusViewerInner.svelte
@@ -939,6 +939,7 @@
}}
on:selectedIteration={(e) => {
let detail = e.detail
+
setModuleState(detail.moduleId, {
selectedForloop: detail.id,
selectedForloopIndex: detail.index
diff --git a/frontend/src/lib/components/flows/map/MapItem.svelte b/frontend/src/lib/components/flows/map/MapItem.svelte
index 53f449c8bb..3afe38ca06 100644
--- a/frontend/src/lib/components/flows/map/MapItem.svelte
+++ b/frontend/src/lib/components/flows/map/MapItem.svelte
@@ -79,7 +79,7 @@
{/if}
{#if flowJobs && !insertable}
-
+
{
dispatch('selectedIteration', e.detail)
diff --git a/frontend/src/lib/components/graph/FlowGraphV2.svelte b/frontend/src/lib/components/graph/FlowGraphV2.svelte
index e1f82ce9c1..a662f4bd15 100644
--- a/frontend/src/lib/components/graph/FlowGraphV2.svelte
+++ b/frontend/src/lib/components/graph/FlowGraphV2.svelte
@@ -159,8 +159,8 @@
move: (module, modules) => {
dispatch('move', { module, modules })
},
- selectIteration: (detail, moduleId) => {
- dispatch('selectIteration', { ...detail, moduleId: moduleId })
+ selectedIteration: (detail, moduleId) => {
+ dispatch('selectedIteration', { ...detail, moduleId: moduleId })
}
},
success,
diff --git a/frontend/src/lib/components/graph/graphBuilder.ts b/frontend/src/lib/components/graph/graphBuilder.ts
index 3545022806..1fdbf17ecd 100644
--- a/frontend/src/lib/components/graph/graphBuilder.ts
+++ b/frontend/src/lib/components/graph/graphBuilder.ts
@@ -10,7 +10,7 @@ export type GraphEventHandlers = {
delete: (detail, label: string) => void
newBranch: (module: FlowModule) => void
move: (module: FlowModule, modules: FlowModule[]) => void
- selectIteration: (detail, moduleId: string) => void
+ selectedIteration: (detail, moduleId: string) => void
}
export default function graphBuilder(
diff --git a/frontend/src/lib/components/graph/renderers/nodes/BranchAllStart.svelte b/frontend/src/lib/components/graph/renderers/nodes/BranchAllStart.svelte
index 025b4099ee..6952696dae 100644
--- a/frontend/src/lib/components/graph/renderers/nodes/BranchAllStart.svelte
+++ b/frontend/src/lib/components/graph/renderers/nodes/BranchAllStart.svelte
@@ -36,7 +36,7 @@
}
-
+
{#if data.insertable}