From 42cd95d93561db6d07e4dc74b05dc1a8299ab45e Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Mon, 15 May 2023 12:19:41 +0200 Subject: dashboard: don't display finished tree testing jobs There's no need for it -- we already display the results in another block. --- dashboard/app/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dashboard/app/main.go b/dashboard/app/main.go index 8fd08832d..8a2a15383 100644 --- a/dashboard/app/main.go +++ b/dashboard/app/main.go @@ -1960,6 +1960,9 @@ func loadTestPatchJobs(c context.Context, bug *Bug) ([]*uiJob, error) { } autoJobsLeft-- } + if job.TreeOrigin && !job.Finished.IsZero() { + continue + } var build *Build if job.BuildID != "" { if build, err = loadBuild(c, bug.Namespace, job.BuildID); err != nil { -- cgit mrf-deployment