Support strings or symbol keys in build-status-alist->build
This commit is contained in:
parent
1fd5c8e379
commit
1887ad2b4f
1 changed files with 2 additions and 1 deletions
|
|
@ -116,7 +116,8 @@
|
|||
,(build-status-value->display-string status)))
|
||||
|
||||
(define (build-status-alist->build-icon status)
|
||||
(build-status-span (assoc-ref status "status")))
|
||||
(build-status-span (or (assoc-ref status "status")
|
||||
(assq-ref status 'status))))
|
||||
|
||||
(define (build-status-label status count)
|
||||
`(span (@ (class ,(string-append
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue