mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-12 10:34:30 +00:00
subscription for *pending* banner
This commit is contained in:
parent
b2a238d7b3
commit
b7159cf052
@ -304,6 +304,10 @@
|
||||
(defn count-pill [n]
|
||||
[:span.v-top.ml3.ph3.pv1.bg-black-05.gray.br3.f7 n])
|
||||
|
||||
(defn pending-banner []
|
||||
(let [banner-info (rf/subscribe [:pending-revocations])]
|
||||
@banner-info))
|
||||
|
||||
(defn salute []
|
||||
(let [msg-info (rf/subscribe [:dashboard/banner-msg])]
|
||||
(fn salute-render []
|
||||
|
@ -180,10 +180,17 @@
|
||||
(:user-dropdown-open? db)))
|
||||
|
||||
(reg-sub
|
||||
:three-dots-open?
|
||||
:three-dots-open?
|
||||
(fn [db _]
|
||||
(:three-dots-open? db)))
|
||||
|
||||
(reg-sub
|
||||
:pending-revocations
|
||||
(fn [db _]
|
||||
(filter #(some (conj #{} (:issue-id %))
|
||||
(::db/pending-revocations db))
|
||||
(vals (:owner-bounties db)))))
|
||||
|
||||
(reg-sub
|
||||
::open-bounty-claims
|
||||
(fn [db _]
|
||||
|
Loading…
x
Reference in New Issue
Block a user