fix: show tracing action on all Flow view nodes
All checks were successful
CI / build (push) Successful in 1m26s
CI / cleanup-branch (push) Has been skipped
CI / docker (push) Successful in 53s
CI / deploy (push) Successful in 39s
CI / deploy-feature (push) Has been skipped

Use diagram node ID as fallback processorId when no processor
execution match exists (e.g. error handlers that didn't trigger).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-03-24 22:46:52 +01:00
parent 581d53a33e
commit bf57fd139b

View File

@@ -157,7 +157,7 @@ export default function ExchangeDetail() {
const lookup = new Map(flatProcs
.filter(p => p.diagramNodeId && p.processorId)
.map(p => [p.diagramNodeId!, p.processorId!]))
return diagram.nodes.map(node => lookup.get(node.id ?? '') ?? '')
return diagram.nodes.map(node => lookup.get(node.id ?? '') ?? node.id ?? '')
}, [diagram, procList, processorIds])
// ── Tracing toggle ──────────────────────────────────────────────────────