only show open PRs in to-merge view

This commit is contained in:
Martin Klepsch 2018-04-26 16:46:08 +02:00 committed by Tetiana Churikova
parent 6ad4f0b548
commit a0e9569d33
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@
[:span.f6.gray (if (second claims)
(str "Current Claims (" (count claims) ")")
"Current Claim")]
(for [[idx claim] (zipmap (range) claims)]
(for [[idx claim] (zipmap (range) (filter bnt/open? claims))]
^{:key (:pr_id claim)}
[:div
{:class (when (> idx 0) "bt b--light-gray pt2")}