This commit is contained in:
pablodip 2018-02-13 16:27:56 +01:00
parent 957de197b7
commit 7587b21154
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@
::bounty-filter-type.re-frame-subs-key-for-options :commiteth.subscriptions/open-bounties-currencies ::bounty-filter-type.re-frame-subs-key-for-options :commiteth.subscriptions/open-bounties-currencies
::bounty-filter-type.predicate (fn [filter-value bounty] ::bounty-filter-type.predicate (fn [filter-value bounty]
(or (and (some #{"ETH"} filter-value) (or (and (some #{"ETH"} filter-value)
(< 0 (:balance-eth bounty))) (< 0 (:balance-eth bounty)))
(not-empty (set/intersection (not-empty (set/intersection
(->> filter-value (remove #{"ETH"}) set) (->> filter-value (remove #{"ETH"}) set)
(-> bounty :tokens keys set)))))} (-> bounty :tokens keys set)))))}