diff --git a/frontend/src/lib/components/FlowPreviewContent.svelte b/frontend/src/lib/components/FlowPreviewContent.svelte
index a09ed81bff..08c7e9fce0 100644
--- a/frontend/src/lib/components/FlowPreviewContent.svelte
+++ b/frontend/src/lib/components/FlowPreviewContent.svelte
@@ -23,6 +23,7 @@
export async function runPreview(args: Record) {
jobId = await runFlowPreview(args, newFlow)
+
intervalState = 'running'
}
diff --git a/frontend/src/lib/components/FlowStatusViewer.svelte b/frontend/src/lib/components/FlowStatusViewer.svelte
index bbc30b2785..b32aa5c008 100644
--- a/frontend/src/lib/components/FlowStatusViewer.svelte
+++ b/frontend/src/lib/components/FlowStatusViewer.svelte
@@ -58,7 +58,7 @@
return isReady
})
} else {
- loadJobInProgress()
+ setTimeout(() => loadJobInProgress(), 500)
}
}
@@ -86,7 +86,9 @@
{#if `result` in job}
{:else}
- {job.logs}
+
{/if}
{#if Array.isArray(forloopJobIds) && forloopJobIds?.length > 0 && Array.isArray(loopJobs)}
@@ -130,13 +132,15 @@
{job?.raw_flow?.modules.length}
-
-
-
+ {#if module.type === 'InProgress'}
+
+
+
+ {/if}
{/each}
{/if}