fix: round some summoner stats

This commit is contained in:
Valentin Kaelin 2019-11-14 21:59:51 +01:00
parent fedb4b461c
commit b3bedb378a

View file

@ -93,8 +93,8 @@
> >
<div class="w-1/4 text-left">{{ name }}</div> <div class="w-1/4 text-left">{{ name }}</div>
<div class="w-1/4">{{ stat }}</div> <div class="w-1/4">{{ stat }}</div>
<div class="w-1/4">{{ (stat / (stats.global.time / 60)).toFixed(2) }}</div> <div class="w-1/4">{{ stat / (stats.global.time / 60)|round }}</div>
<div class="w-1/4">{{ (stat / stats.global.count).toFixed(2) }}</div> <div class="w-1/4">{{ stat / stats.global.count|round }}</div>
</li> </li>
<li class="flex justify-between items-center px-4 py-1 bg-blue-760 leading-tight"> <li class="flex justify-between items-center px-4 py-1 bg-blue-760 leading-tight">
<div class="w-1/4 text-left whitespace-no-wrap">kill participation</div> <div class="w-1/4 text-left whitespace-no-wrap">kill participation</div>