Skip to content

Commit

Permalink
Rejected Shares Percentage Information added
Browse files Browse the repository at this point in the history
resolved conflicts for new UI
  • Loading branch information
WhiteyCookie authored Nov 4, 2024
1 parent da2d255 commit 201dbc4
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ <h4>Loading...</h4>
</div>
<span class="text-red-500 font-medium">{{info.sharesRejected | number: '1.0-0'}} </span>
<span class="text-500">rejected</span>
<!-- Percentage of Rejected Shares -->
<div class="text-500">
<span class="font-medium">{{(info.sharesRejected / (info.sharesAccepted + info.sharesRejected) * 100) | number: '1.3-3'}}%</span>
<span> of total shares rejected</span>
</div>
</div>
</div>

Expand Down Expand Up @@ -222,4 +227,4 @@ <h5>Pool Information ({{info.isUsingFallbackStratum ? 'Fallback' : 'Primary' }})
</div>


</ng-container>
</ng-container>

0 comments on commit 201dbc4

Please sign in to comment.