Skip to content

Commit ef5ae8c

Browse files
authored
Merge branch 'master' into patch-1
2 parents dd8191a + 99637da commit ef5ae8c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/oss-console/src/components/Executions/ExecutionDetails/ExecutionMetadata.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const ExecutionMetadata: React.FC<{}> = () => {
7171
const workflowId = execution?.closure?.workflowId;
7272

7373
const { labels } = execution.spec;
74-
const { referenceExecution, systemMetadata, parentNodeExecution } = execution.spec.metadata;
74+
const { referenceExecution, systemMetadata, parentNodeExecution, principal } = execution.spec.metadata;
7575
const cluster = systemMetadata?.executionCluster ?? dashedValueString;
7676

7777
const details: DetailItem[] = [
@@ -85,6 +85,10 @@ export const ExecutionMetadata: React.FC<{}> = () => {
8585
label: ExecutionMetadataLabels.cluster,
8686
value: cluster,
8787
},
88+
{
89+
label: ExecutionMetadataLabels.principal,
90+
value: principal || dashedValueString,
91+
},
8892
{
8993
label: ExecutionMetadataLabels.time,
9094
value: startedAt ? formatDateUTC(timestampToDate(startedAt)) : dashedValueString,

packages/oss-console/src/components/Executions/ExecutionDetails/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export enum ExecutionMetadataLabels {
1414
overwriteCache = 'Overwrite cached outputs',
1515
parent = 'Parent',
1616
labels = 'Labels',
17+
principal = 'Created by',
1718
}
1819

1920
export const tabs = {

0 commit comments

Comments
 (0)