aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-05-15 12:19:41 +0200
committerAleksandr Nogikh <wp32pw@gmail.com>2023-05-15 13:09:56 +0200
commit42cd95d93561db6d07e4dc74b05dc1a8299ab45e (patch)
tree2b1360ee6314a25fb76a4c39a6e1c1b811c0f22b
parent313f3ba4104a97666b59a842f7f71f109e7d66ce (diff)
dashboard: don't display finished tree testing jobs
There's no need for it -- we already display the results in another block.
-rw-r--r--dashboard/app/main.go3
1 files changed, 3 insertions, 0 deletions
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 {