From 06d54e6e2d441e9c204c6826c06b64492b354957 Mon Sep 17 00:00:00 2001 From: Teemu Patja Date: Wed, 8 Nov 2017 15:51:16 +0200 Subject: [PATCH] Exclude closed claims in manage payouts --- src/cljs/commiteth/manage_payouts.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cljs/commiteth/manage_payouts.cljs b/src/cljs/commiteth/manage_payouts.cljs index ad7c9d2..746b1a9 100644 --- a/src/cljs/commiteth/manage_payouts.cljs +++ b/src/cljs/commiteth/manage_payouts.cljs @@ -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]))))