Show workflow outputs in workflow run screen (#1239)

This commit is contained in:
Shuchang Zheng
2024-11-22 06:06:50 -08:00
committed by GitHub
parent 3eb9d13327
commit cec2ad38ec

View File

@@ -611,6 +611,20 @@ function WorkflowRun() {
</Pagination>
</div>
</div>
{workflowRunIsFinalized && (
<div className="space-y-4">
<header>
<h2 className="text-lg font-semibold">Block Outputs</h2>
</header>
<CodeEditor
language="json"
value={JSON.stringify(workflowRun.outputs, null, 2)}
readOnly
minHeight="96px"
maxHeight="500px"
/>
</div>
)}
{Object.entries(parameters).length > 0 && (
<div className="space-y-4">
<header>