File tree Expand file tree Collapse file tree
apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/table-grid/cells Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,10 +73,6 @@ export function resolveCellRender({
7373 const inFlight =
7474 exec ?. status === 'running' || exec ?. status === 'queued' || exec ?. status === 'pending'
7575 if ( inFlight && blockRunning ) return { kind : 'running' }
76- // Enrichment outputs share an empty blockId, so `runningBlockIds` can never
77- // match them — the group-level `running` status is the only "worker picked
78- // this up" signal an enrichment cell has.
79- if ( isEnrichmentOutput && exec ?. status === 'running' ) return { kind : 'running' }
8076
8177 // Value wins over pending-upstream: a finished column stays finished even
8278 // while other blocks in the group are still running. An empty string is not
@@ -89,6 +85,12 @@ export function resolveCellRender({
8985 return resolveLinkKind ( text , currentWorkspaceId ) ?? { kind : 'value' , text }
9086 }
9187
88+ // Enrichment outputs share an empty blockId, so `runningBlockIds` can never
89+ // match them — the group-level `running` status is the only "worker picked
90+ // this up" signal an enrichment cell has. Checked after the value so a
91+ // rerun keeps showing the previous output until the new result lands.
92+ if ( isEnrichmentOutput && exec ?. status === 'running' ) return { kind : 'running' }
93+
9294 if ( inFlight && ! ( groupHasBlockErrors && ! blockRunning ) ) {
9395 // A `pending` cell whose jobId starts with `paused-` is mid-pause
9496 // (workflow yielded for human-in-the-loop). Render as Pending rather
You can’t perform that action at this time.
0 commit comments