diff --git a/src/components/JobCardDetails.tsx b/src/components/JobCardDetails.tsx index 1a935a4..cb2866e 100644 --- a/src/components/JobCardDetails.tsx +++ b/src/components/JobCardDetails.tsx @@ -189,7 +189,7 @@ const JobCardDetails: React.FC = ({ job }) => { icon={} /> - {job.status === 'Running' && job.runtime && job.runtime > 0 && ( + {job.runtime && job.runtime > 0 && ( <>
@@ -199,13 +199,17 @@ const JobCardDetails: React.FC = ({ job }) => { {formatDuration(job.runtime)}
-
- - Remaining: -
-
- {formatDuration(remainingTime)} -
+ {job.status === 'Running' && ( + <> +
+ + Remaining: +
+
+ {formatDuration(remainingTime)} +
+ + )} )}