mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2025-01-30 10:40:13 +08:00
Add percent sign back in to ratio
This commit is contained in:
parent
fbfb748f8b
commit
1fdac8b6f7
@ -33,13 +33,13 @@
|
||||
<div class="row header">
|
||||
<span class="rank">Rank</span>
|
||||
<span class="player">Player</span>
|
||||
<span class="value">Ratio</span>
|
||||
<span class="value">Win Rate</span>
|
||||
</div>
|
||||
<div *ngFor="let r of ratioRankings, let i = index" [ngClass]="'row body'">
|
||||
<span class="rank">{{i + 1}}</span>
|
||||
<span class="player">{{r.name}}</span>
|
||||
<!-- Format is minimum one place before decimal, min and max 2 places after decimal. -->
|
||||
<span class="value">{{r.winLossRatio | number: '1.2-2'}}</span>
|
||||
<span class="value">{{r.winLossRatio | number: '1.2-2'}}%</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user