Add percent sign back in to ratio

This commit is contained in:
Liam Westby 2018-05-29 14:31:25 -05:00
parent fbfb748f8b
commit 1fdac8b6f7

View File

@ -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>