mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-11 10:06:20 +00:00
fix filter currency eth
This commit is contained in:
parent
c5067ec6c3
commit
066b79c590
@ -87,8 +87,8 @@
|
||||
::bounty-filter-type.category ::bounty-filter-type-category|multiple-dynamic-options
|
||||
::bounty-filter-type.re-frame-subs-key-for-options :commiteth.subscriptions/open-bounties-currencies
|
||||
::bounty-filter-type.predicate (fn [filter-value bounty]
|
||||
(or (and (contains? #{"ETH"} filter-value)
|
||||
(< 0 (:balance-eth bounty)))
|
||||
(or (and (contains? filter-value "ETH")
|
||||
(< 0 (js/parseFloat (:balance-eth bounty))))
|
||||
(not-empty
|
||||
(set/intersection
|
||||
(->> filter-value (remove #{"ETH"}) set)
|
||||
|
Loading…
x
Reference in New Issue
Block a user