mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-04 04:59:40 +00:00
Fix Health and EXP rounding on stats page to match header
This commit is contained in:
parent
25427fcf4c
commit
963ddd7694
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ table.table.table-striped
|
|||
tr
|
||||
td
|
||||
strong=env.t('health')
|
||||
| : {{profile.stats.hp | number:0}} / 50
|
||||
| : {{Math.ceil(profile.stats.hp)}} / 50
|
||||
tr(ng-if='profile.stats.lvl >= 10 && !profile.preferences.disableClasses')
|
||||
td
|
||||
strong=env.t('mana')
|
||||
|
|
@ -19,7 +19,7 @@ table.table.table-striped
|
|||
tr
|
||||
td
|
||||
strong=env.t('experience')
|
||||
| : {{profile.stats.exp | number:0}} / {{Shared.tnl(profile.stats.lvl)}}
|
||||
| : {{Math.floor(profile.stats.exp)}} / {{Shared.tnl(profile.stats.lvl)}}
|
||||
|
||||
// FIXME get translations working before can use this
|
||||
unless mobile
|
||||
|
|
|
|||
Loading…
Reference in a new issue