File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
frontend/src/pages/Runs/List Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { groupBy as _groupBy } from 'lodash';
22
33import { getBaseUrl } from 'App/helpers' ;
44
5- import { finishedJobs } from '../constants' ;
5+ import { finishedJobs , finishedRunStatuses } from '../constants' ;
66import { getJobStatus } from '../Details/Jobs/List/helpers' ;
77
88export const getGroupedRunsByProjectAndRepoID = ( runs : IRun [ ] ) => {
@@ -100,7 +100,7 @@ export const getRunListItemSchedule = (run: IRun) => {
100100} ;
101101
102102export const getRunListFinishedAt = ( run : IRun ) => {
103- if ( ! run . latest_job_submission || ! run . latest_job_submission . finished_at ) {
103+ if ( ! run . latest_job_submission || ! run . latest_job_submission . finished_at || ! finishedRunStatuses . includes ( run . status ) ) {
104104 return null ;
105105 }
106106 return run . latest_job_submission . finished_at ;
You can’t perform that action at this time.
0 commit comments