From c227ba2794db55ae3bfb44bd25b266ad80a1140f Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 25 Jan 2023 20:33:33 +0100 Subject: [PATCH] loader for flowjobresult --- .../src/lib/components/FlowJobResult.svelte | 10 ++++++++- .../lib/components/FlowStatusViewer.svelte | 22 ++++++++++++++++--- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/frontend/src/lib/components/FlowJobResult.svelte b/frontend/src/lib/components/FlowJobResult.svelte index 448757e2ce..2188f8dd04 100644 --- a/frontend/src/lib/components/FlowJobResult.svelte +++ b/frontend/src/lib/components/FlowJobResult.svelte @@ -1,4 +1,5 @@
Result - + {#if result} + + {:else if loading} + + {:else} +
No result (result is undefined)
+ {/if}
diff --git a/frontend/src/lib/components/FlowStatusViewer.svelte b/frontend/src/lib/components/FlowStatusViewer.svelte index eaa80ebab5..c25c83085f 100644 --- a/frontend/src/lib/components/FlowStatusViewer.svelte +++ b/frontend/src/lib/components/FlowStatusViewer.svelte @@ -180,7 +180,11 @@ {#if `result` in job}
- +
{:else if job.flow_status?.modules?.[job?.flow_status?.step]?.type === FlowStatusModule.type.WAITING_FOR_EVENTS}
@@ -451,7 +455,13 @@ {#if selectedNode} {@const node = localFlowModuleStates[selectedNode]} {#if selectedNode == 'end'} - + {:else if selectedNode == 'start'} {#if job.args}
@@ -478,7 +488,13 @@
{/if}
- + {:else}

The execution of this node has no information attached to it. The job likely did