fix: Hide empty start time data for queued builds
Signed-off-by: Adam Harvey <adaharve@cisco.com>
This commit is contained in:
@@ -205,18 +205,19 @@ const generatedColumns: TableColumn[] = [
|
||||
{
|
||||
title: 'Time',
|
||||
field: 'startTime',
|
||||
render: (row: Partial<CITableBuildInfo>) => (
|
||||
<>
|
||||
<Typography variant="body2">
|
||||
run {relativeTimeTo(row?.startTime)}
|
||||
</Typography>
|
||||
<Typography variant="body2">
|
||||
{row?.stopTime
|
||||
? `took ${durationHumanized(row?.startTime, row?.stopTime)}`
|
||||
: ''}
|
||||
</Typography>
|
||||
</>
|
||||
),
|
||||
render: (row: Partial<CITableBuildInfo>) =>
|
||||
row?.startTime ? (
|
||||
<>
|
||||
<Typography variant="body2">
|
||||
run {relativeTimeTo(row?.startTime)}
|
||||
</Typography>
|
||||
<Typography variant="body2">
|
||||
{row?.stopTime
|
||||
? `took ${durationHumanized(row?.startTime, row?.stopTime)}`
|
||||
: ''}
|
||||
</Typography>
|
||||
</>
|
||||
) : null,
|
||||
},
|
||||
{
|
||||
title: 'Workflow',
|
||||
|
||||
Reference in New Issue
Block a user