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"] [: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]))))