From fe60e85b6a6b2811e4ce5c5daf4a59882028b20a Mon Sep 17 00:00:00 2001 From: Valentin Kaelin Date: Wed, 1 Jan 2020 16:39:54 +0100 Subject: [PATCH] style: remove old comments and change method names --- .../Summoner/Overview/SummonerChampions.vue | 2 +- .../Summoner/Overview/SummonerStats.vue | 2 +- client/src/layouts/Default.vue | 5 ++--- client/src/store/modules/summoner.js | 17 +++++------------ client/src/views/Summoner.vue | 3 +-- client/src/views/SummonerChampions.vue | 7 +++---- .../app/Controllers/Http/SummonerController.js | 1 - 7 files changed, 13 insertions(+), 24 deletions(-) diff --git a/client/src/components/Summoner/Overview/SummonerChampions.vue b/client/src/components/Summoner/Overview/SummonerChampions.vue index ef03d38..e089dd3 100644 --- a/client/src/components/Summoner/Overview/SummonerChampions.vue +++ b/client/src/components/Summoner/Overview/SummonerChampions.vue @@ -19,7 +19,7 @@
Stats based on
- {{ stats.global.count }} matches + {{ stats.global ? stats.global.count : 0 }} matches
Load more matches diff --git a/client/src/components/Summoner/Overview/SummonerStats.vue b/client/src/components/Summoner/Overview/SummonerStats.vue index 8815252..aca0e9e 100644 --- a/client/src/components/Summoner/Overview/SummonerStats.vue +++ b/client/src/components/Summoner/Overview/SummonerStats.vue @@ -1,5 +1,5 @@