diff --git a/frontend/src/lib/components/FlowHistoryJobPicker.svelte b/frontend/src/lib/components/FlowHistoryJobPicker.svelte index 3a703d8bd7..26fa41f1af 100644 --- a/frontend/src/lib/components/FlowHistoryJobPicker.svelte +++ b/frontend/src/lib/components/FlowHistoryJobPicker.svelte @@ -12,13 +12,15 @@ selected?: string | undefined selectInitial?: boolean loading?: boolean + newFlow?: boolean } let { path, selected = undefined, selectInitial = false, - loading = $bindable(false) + loading = $bindable(false), + newFlow = false }: Props = $props() const dispatch = createEventDispatcher() @@ -41,7 +43,9 @@ } $effect(() => { - $workspaceStore && untrack(() => loadInitial()) + if ($workspaceStore && !newFlow) { + untrack(() => loadInitial()) + } }) diff --git a/frontend/src/lib/components/FlowPreviewContent.svelte b/frontend/src/lib/components/FlowPreviewContent.svelte index 28546536bb..f702b84397 100644 --- a/frontend/src/lib/components/FlowPreviewContent.svelte +++ b/frontend/src/lib/components/FlowPreviewContent.svelte @@ -588,6 +588,7 @@ {/if} { if (!currentJobId) { currentJobId = jobId @@ -607,7 +608,9 @@ /> - + {#if jobId} + + {/if} {#if job}
@@ -670,6 +673,10 @@
Loading history...
+ {:else} +
+ Flow status will display here +
{/if}