fix(core): fixed user ratio showed as -1 issues

This commit is contained in:
OldHawk
2017-11-21 14:02:47 +08:00
parent 51df18fe80
commit d05cd4def4

View File

@@ -32,7 +32,7 @@
<ul class="nav navbar-nav navbar-right" ng-show="vm.authentication.user">
<li class="scroll-info xs-hide sm-hide" ui-sref="status.account" ng-if="vm.authentication.user">
<span>
{{'TABLE_FIELDS.RATIO' | translate}}: {{vm.authentication.user.ratio}}, 
{{'TABLE_FIELDS.RATIO' | translate}}: {{vm.authentication.user.ratio | ratio}}, 
{{'TABLE_FIELDS.LEVEL' | translate}}: {{vm.scoreLevelData.currLevel}}, 
{{'TABLE_FIELDS.SEEDED' | translate}}: {{vm.authentication.user.seeded}}, 
{{'TABLE_FIELDS.LEECHED' | translate}}: {{vm.authentication.user.leeched}}</span>