parent
473a525779
commit
d435b0b723
|
@ -264,7 +264,7 @@ AND u.id = p.user_id
|
||||||
AND i.execute_hash IS NULL;
|
AND i.execute_hash IS NULL;
|
||||||
|
|
||||||
-- :name pending-payouts :? :*
|
-- :name pending-payouts :? :*
|
||||||
-- :doc lists all recently closed issues awaiting to be confirmed
|
-- :doc recently closed issues awaiting for bot confirmation to be mined
|
||||||
SELECT
|
SELECT
|
||||||
i.contract_address AS contract_address,
|
i.contract_address AS contract_address,
|
||||||
i.issue_id AS issue_id,
|
i.issue_id AS issue_id,
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
issue-title :issue_title} claim
|
issue-title :issue_title} claim
|
||||||
merged? (= 1 (:pr_state claim))
|
merged? (= 1 (:pr_state claim))
|
||||||
paid? (not-empty (:payout_hash claim))
|
paid? (not-empty (:payout_hash claim))
|
||||||
|
bot-confirm-unmined? (empty? (:confirm_hash bounty))
|
||||||
confirming? (:confirming? bounty)
|
confirming? (:confirming? bounty)
|
||||||
updated (:updated bounty)]
|
updated (:updated bounty)]
|
||||||
[:div.activity-item
|
[:div.activity-item
|
||||||
|
@ -37,7 +38,7 @@
|
||||||
{}
|
{}
|
||||||
{:disabled true})
|
{:disabled true})
|
||||||
{:on-click #(rf/dispatch [:confirm-payout claim])}
|
{:on-click #(rf/dispatch [:confirm-payout claim])}
|
||||||
(when confirming?
|
(when (or confirming? bot-confirm-unmined?)
|
||||||
{:class "busy loading" :disabled true}))
|
{:class "busy loading" :disabled true}))
|
||||||
(if paid?
|
(if paid?
|
||||||
"Signed off"
|
"Signed off"
|
||||||
|
|
Loading…
Reference in New Issue