From b3bedb378a7427d54fd68ad49cd7e2332b3b4dab Mon Sep 17 00:00:00 2001 From: Valentin Kaelin Date: Thu, 14 Nov 2019 21:59:51 +0100 Subject: [PATCH] fix: round some summoner stats --- client/src/components/Summoner/SummonerStats.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/Summoner/SummonerStats.vue b/client/src/components/Summoner/SummonerStats.vue index 1587b34..d7dc631 100644 --- a/client/src/components/Summoner/SummonerStats.vue +++ b/client/src/components/Summoner/SummonerStats.vue @@ -93,8 +93,8 @@ >
{{ name }}
{{ stat }}
-
{{ (stat / (stats.global.time / 60)).toFixed(2) }}
-
{{ (stat / stats.global.count).toFixed(2) }}
+
{{ stat / (stats.global.time / 60)|round }}
+
{{ stat / stats.global.count|round }}
  • kill participation