Exclude closed claims in manage payouts

This commit is contained in:
Teemu Patja 2017-11-08 15:51:16 +02:00
parent 439fce9793
commit 06d54e6e2d
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
1 changed files with 2 additions and 2 deletions

View File

@ -53,8 +53,8 @@
[:div.ui.text "No items"]
(into [:div.activity-item-container]
(for [bounty bounties
claim (:claims bounty)]
;; TODO: for paid bounties, only show the winning claim
claim (filter #(not (= 2 (:pr_state %))) ;; exclude closed
(:claims bounty))]
[claim-card bounty claim]))))