mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-26 01:10:31 +00:00
only allow revocation if there are none pending
This commit is contained in:
parent
fffe92f87d
commit
ecb777736a
@ -270,7 +270,8 @@
|
||||
[:div.ui.menu.revoke.transition {:tab-index -1}]
|
||||
[:div.ui.menu.transition.hidden])]
|
||||
[:div.fl.w-20
|
||||
[three-dots (:issue-id bounty)]
|
||||
(if (empty? @(rf/subscribe [:pending-revocations]))
|
||||
[three-dots (:issue-id bounty)])
|
||||
(into menu [[:div
|
||||
[:a.pa2
|
||||
{:on-click #(rf/dispatch [:revoke-bounty {:issue-id (:issue-id bounty)}])}
|
||||
|
Loading…
x
Reference in New Issue
Block a user