Skip to content

Commit

Permalink
feat: show index number next to label
Browse files Browse the repository at this point in the history
  • Loading branch information
bryson-g committed Feb 5, 2025
1 parent b1e8b38 commit cf39c1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const TaskDetails: FC<{
</Entry>
</DiagramDataGroup>

<DiagramDataGroup label="TaskAttempt" from="TaskRun">
<DiagramDataGroup label={taskRunData.attempts.length > 1 ? `TaskAttempt #${taskAttemptIndex}` : "TaskAttempt"} from="TaskRun">
<DiagramDataGroupIndexer index={taskAttemptIndex} setIndex={setTaskAttemptIndex} indexes={taskRunData.attempts.length} />
<Entry label="Status:">
<Status status={taskRunData.attempts[taskAttemptIndex].status} />
Expand Down

0 comments on commit cf39c1c

Please sign in to comment.