File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -251,6 +251,11 @@ Vue.mixin({
251
251
a => a . claim_tx === null &&
252
252
a . grant_payout ) . length ;
253
253
} ,
254
+ filterPendingClaims ( matches ) {
255
+ return this . filterMatchingPayout ( matches ) . filter (
256
+ match => ! match . claim_tx || match . claim_tx == ''
257
+ ) ;
258
+ } ,
254
259
filterMatchingPayout ( matches ) {
255
260
return matches . filter ( match => match . grant_payout ) ;
256
261
}
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ <h2>Matching Funds</h2>
142
142
<!-- check if grant has a match that can be claimed -->
143
143
< div v-if ="canClaimMatch(grant) ">
144
144
<!-- map over matches that have an existing payout -->
145
- < div v-for ="match in filterMatchingPayout (grant.clr_matches) " :key ="match.pk ">
145
+ < div v-for ="match in filterPendingClaims (grant.clr_matches) " :key ="match.pk ">
146
146
{% include './components/ready_claim.html' %}
147
147
</ div >
148
148
</ div >
You can’t perform that action at this time.
0 commit comments