Merge pull request #843 from MiguelMedeiros/fix-sum-bar-values

Fix total percentage bar value.
This commit is contained in:
wiz 2021-09-30 03:59:44 +09:00 committed by GitHub
commit 18e0a17d26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -229,7 +229,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
</td>
<td class="total-progress-sum-bar">
<span class="total-percentage-bar-background">
<span style="width: ${formatNumber(progressPercentageSum, this.locale, '1.2-2')}%; background-color: ${this.chartColorsOrdered[3]}"></span>
<span style="width: ${progressPercentageSum.toFixed(2)}%; background-color: ${this.chartColorsOrdered[3]}"></span>
</span>
</td>
</tr>`);