mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-15 00:12:17 +00:00
fix(filters): use k not K for thousand
This commit is contained in:
parent
0d15006123
commit
a56b1eec12
1 changed files with 2 additions and 2 deletions
|
|
@ -16,6 +16,6 @@ angular.module('habitrpg')
|
|||
})
|
||||
.filter('goldRoundThousandsToK', function(){
|
||||
return function (gp) {
|
||||
return (gp > 999) ? (Math.floor(gp / 100) / 10.0 + 'K') : gp;
|
||||
return (gp > 999) ? (Math.floor(gp / 100) / 10.0 + 'k') : gp;
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue