Fix the unknown build counts on the builds pages

This commit is contained in:
Christopher Baines 2019-12-23 21:30:36 +00:00
parent 474d942cbb
commit 5c643e09e5
2 changed files with 9 additions and 9 deletions

View file

@ -1180,12 +1180,10 @@ figure {
`(tr
(td ,(build-status-span status))
,@(map (lambda (id)
`(td ,(if (string-null? status)
(assq-ref counts-by-build-server-id
#f)
(or (assq-ref counts-by-build-server-id
id)
0))))
`(td
,(or (assq-ref counts-by-build-server-id
id)
0)))
(map cdr build-server-options)))))
stats)))))
(div