mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 21:07:27 +00:00
fix: wins/losses were reversed in role stats
This commit is contained in:
parent
ea6c1b35a3
commit
c394857aae
1 changed files with 2 additions and 2 deletions
|
|
@ -40,11 +40,11 @@
|
|||
>
|
||||
<div class="flex flex-col justify-end w-2 h-12 bg-blue-900 rounded-full">
|
||||
<div
|
||||
:style="{height: (role.count * 3 / mostPlayedRole) * role.losses / role.count + 'rem'}"
|
||||
:style="{height: (role.count * 3 / mostPlayedRole) * role.wins / role.count + 'rem'}"
|
||||
class="bg-green-400 rounded-t-full"
|
||||
></div>
|
||||
<div
|
||||
:style="{height: (role.count * 3 / mostPlayedRole) * role.wins / role.count + 'rem'}"
|
||||
:style="{height: (role.count * 3 / mostPlayedRole) * role.losses / role.count + 'rem'}"
|
||||
class="bg-red-400 rounded-b-full"
|
||||
></div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue