From c6d0cd5d4eb063c302779b7d4a140d9dcfcd1b8c Mon Sep 17 00:00:00 2001 From: Valentin Kaelin Date: Sun, 1 Dec 2019 19:17:30 +0100 Subject: [PATCH] feat: add soloQ rank of all players in match details --- .../components/Match/DetailedMatchTeam.vue | 13 ++-- client/src/components/Match/MatchItems.vue | 2 +- client/src/components/SVGContainer.vue | 10 +++- client/src/helpers/summoner.js | 3 - .../app/Controllers/Http/MatchController.js | 17 ++++-- .../Controllers/Http/SummonerController.js | 2 +- server/app/Services/SummonerService.js | 59 ++++++++++++++++--- .../Transformers/DetailedMatchTransformer.js | 29 +++++++-- server/app/Transformers/MatchTransformer.js | 1 + 9 files changed, 108 insertions(+), 28 deletions(-) diff --git a/client/src/components/Match/DetailedMatchTeam.vue b/client/src/components/Match/DetailedMatchTeam.vue index acdd8a9..42cd3ba 100644 --- a/client/src/components/Match/DetailedMatchTeam.vue +++ b/client/src/components/Match/DetailedMatchTeam.vue @@ -98,12 +98,15 @@
{{ player.champion.name }}
-
-
- - +
+
+ + -
S2
+
{{ player.rank.shortName }}
+
+
+
-
diff --git a/client/src/components/Match/MatchItems.vue b/client/src/components/Match/MatchItems.vue index fbcd6ee..61a1975 100644 --- a/client/src/components/Match/MatchItems.vue +++ b/client/src/components/Match/MatchItems.vue @@ -1,5 +1,5 @@