fix appstatuscomponent

This commit is contained in:
Ruben Fiszel
2023-06-09 18:47:05 +02:00
parent 98d6b21b30
commit b7c3a248da
@@ -14,7 +14,7 @@
export let customCss: ComponentCustomCSS<'flowstatuscomponent'> | undefined = undefined
export let render: boolean
const { app, worldStore } = getContext<AppViewerContext>('AppViewerContext')
const { app, worldStore, workspace } = getContext<AppViewerContext>('AppViewerContext')
const outputs = initOutput($worldStore, id, {
result: undefined,
@@ -59,7 +59,7 @@
)}
>
{#if jobId}
<FlowStatusViewer {jobId} />
<FlowStatusViewer workspaceId={workspace} {jobId} />
{:else}
<span class="text-gray-600 text-xs">No flow</span>
{/if}