From 4e6234d5606c9c6b2458f6db74dd33b6b6603619 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Mon, 10 Apr 2023 21:10:13 -0400 Subject: [PATCH] fix(circleci): Row display for running jobs Signed-off-by: Adam Harvey --- .../src/components/BuildsPage/lib/CITable/CITable.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/circleci/src/components/BuildsPage/lib/CITable/CITable.tsx b/plugins/circleci/src/components/BuildsPage/lib/CITable/CITable.tsx index 82ee144a24..a9d19bf6db 100644 --- a/plugins/circleci/src/components/BuildsPage/lib/CITable/CITable.tsx +++ b/plugins/circleci/src/components/BuildsPage/lib/CITable/CITable.tsx @@ -211,7 +211,9 @@ const generatedColumns: TableColumn[] = [ run {relativeTimeTo(row?.startTime)} - took {durationHumanized(row?.startTime, row?.stopTime)} + {row?.stopTime + ? `took ${durationHumanized(row?.startTime, row?.stopTime)}` + : ''} ),