Skip to content

Commit

Permalink
fix(ui): Ignore running workflows in report. Fixes argoproj#4387 (arg…
Browse files Browse the repository at this point in the history
…oproj#4397)

Signed-off-by: Alex Collins <[email protected]>
  • Loading branch information
alexec committed Oct 27, 2020
1 parent 7ace8f8 commit 28bdb6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/reports/components/reports.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class Reports extends BasePage<RouteComponentProps<any>, State> {

private getExtractDatasets(workflows: Workflow[]) {
const filteredWorkflows = workflows
.filter(wf => wf.status.finishedAt !== '')
.filter(wf => !!wf.status.finishedAt)
.map(wf => ({
name: wf.metadata.name,
finishedAt: new Date(wf.status.finishedAt),
Expand Down

0 comments on commit 28bdb6f

Please sign in to comment.