update value-usd key in client as it is now renamed on server
This commit is contained in:
parent
483f65ae1f
commit
28ce4db049
|
@ -88,7 +88,7 @@
|
|||
:<- [:owner-bounties]
|
||||
(fn [owner-bounties _]
|
||||
(let [sum-dollars (fn sum-dollars [bounties]
|
||||
(reduce + (map #(js/parseFloat (:value_usd %)) bounties)))
|
||||
(reduce + (map #(js/parseFloat (:value-usd %)) bounties)))
|
||||
{:keys [paid unpaid]} (group-by #(if (:paid? %) :paid :unpaid)
|
||||
(vals owner-bounties))]
|
||||
{:paid {:count (count paid)
|
||||
|
|
Loading…
Reference in New Issue