Add option to extend availability by 24h
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 34s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 34s
Details
This commit is contained in:
parent
90b7e67270
commit
4657525d3c
|
@ -92,9 +92,14 @@ function AvailabilityStakes({ showActions, showAmount, onlyShowAvailable }) {
|
|||
{showActions && (
|
||||
<td>
|
||||
{s.currentUserIsWorker() && !s.assigned && !s.reclaimed && (
|
||||
<Button onClick={() => extendAvailabilityStake(s.id, 3600)}>
|
||||
Extend 1 Hr.
|
||||
</Button>
|
||||
<>
|
||||
<Button onClick={() => extendAvailabilityStake(s.id, 3600)}>
|
||||
Extend 1 Hr.
|
||||
</Button>
|
||||
<Button onClick={() => extendAvailabilityStake(s.id, 86400)}>
|
||||
Extend 24 Hr.
|
||||
</Button>
|
||||
</>
|
||||
)}
|
||||
{s.currentUserIsWorker() && s.timeRemaining <= 0
|
||||
&& !s.assigned && !s.reclaimed && (
|
||||
|
|
Loading…
Reference in New Issue