Exclude closed claims in manage payouts
This commit is contained in:
parent
439fce9793
commit
06d54e6e2d
|
@ -53,8 +53,8 @@
|
||||||
[:div.ui.text "No items"]
|
[:div.ui.text "No items"]
|
||||||
(into [:div.activity-item-container]
|
(into [:div.activity-item-container]
|
||||||
(for [bounty bounties
|
(for [bounty bounties
|
||||||
claim (:claims bounty)]
|
claim (filter #(not (= 2 (:pr_state %))) ;; exclude closed
|
||||||
;; TODO: for paid bounties, only show the winning claim
|
(:claims bounty))]
|
||||||
[claim-card bounty claim]))))
|
[claim-card bounty claim]))))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue