Skip to content

Commit

Permalink
fix(ProofsTable): hide failed count cu for unfinished epoch (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
MixailE authored Sep 24, 2024
1 parent ca3e67a commit a3cd6ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/capacity/ProofsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ const ProofRow: React.FC<ProofRow> = ({ proof, currentEpoch }) => {
</Text>
<Text size={12}>&nbsp;/&nbsp;</Text>
<Text size={12} color={'red'}>
{proof.computeUnitsFailed}
{proof.createdAtEpoch != currentEpoch
? proof.computeUnitsFailed
: '-'}
</Text>
</Cell>
{/* Total proofs */}
Expand Down

0 comments on commit a3cd6ca

Please sign in to comment.