fix: Be consistent with hash pipe and capital H

This commit is contained in:
mrv777 2024-09-28 22:04:26 -05:00
parent 7097ca180b
commit d45127b29b

View File

@ -27,9 +27,8 @@
</div>
</div>
<ng-container *ngIf="expectedHashRate$ | async as expectedHashRate">
<span class="text-green-500 font-medium">{{expectedHashRate}}
<small>Gh/s </small></span>
<span class="text-500">expected</span>
<span class="text-green-500 font-medium">{{expectedHashRate * 1000000000 | hashSuffix}}</span>
<span class="text-500"> expected</span>
</ng-container>
</div>
</div>
@ -55,7 +54,7 @@
<div>
<span class="block text-500 font-medium mb-3">Efficiency</span>
<div class="text-900 font-medium text-xl">
<td>{{info.power / (info.hashRate/1000) | number: '1.2-2'}} <small>J/Th</small>
<td>{{info.power / (info.hashRate/1000) | number: '1.2-2'}} <small>J/TH</small>
</td>
</div>
</div>