fixup for null availability rows while loading
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 35s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 35s
Details
This commit is contained in:
parent
f215570a1e
commit
bbaa0faf72
|
@ -42,6 +42,7 @@ function AvailabilityStakes({ showActions, showAmount, onlyShowAvailable }) {
|
|||
}, [work1, account]);
|
||||
|
||||
const displayData = availabilityStakes.filter((stake) => {
|
||||
if (!stake) return false;
|
||||
if (!onlyShowAvailable) return true;
|
||||
if (getAvailabilityStatus(stake) === 'Available') return true;
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue