mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
feat: add complete kda in champions tabs
This commit is contained in:
parent
e295141eb1
commit
de4369baee
1 changed files with 10 additions and 4 deletions
|
|
@ -52,10 +52,16 @@
|
|||
:style="bgColor(champion, '55, 118, 179', 'count')"
|
||||
class="px-2 py-3 text-white text-sm"
|
||||
>{{ champion.count }}</td>
|
||||
<td
|
||||
:style="bgColor(champion, '55, 118, 179', 'kda')"
|
||||
class="px-2 py-3 text-white text-sm"
|
||||
>{{ champion.kda|round }}</td>
|
||||
<td :style="bgColor(champion, '55, 118, 179', 'kda')" class="px-2 py-3 text-white text-sm">
|
||||
<div>{{ champion.kda|round }}</div>
|
||||
<div class="mt-1 text-xxs text-blue-200">
|
||||
{{ champion.kills/champion.count|round(1) }}
|
||||
/
|
||||
{{ champion.deaths/champion.count|round(1) }}
|
||||
/
|
||||
{{ champion.assists/champion.count|round(1) }}
|
||||
</div>
|
||||
</td>
|
||||
<td
|
||||
:style="bgColor(champion, '71, 132, 116', 'kp')"
|
||||
class="px-2 py-3 text-white text-sm"
|
||||
|
|
|
|||
Loading…
Reference in a new issue