From 2a03163a140c23770ba849305f693d8f7d9ea05c Mon Sep 17 00:00:00 2001 From: Valentin Kaelin Date: Tue, 25 Aug 2020 16:33:41 +0200 Subject: [PATCH] fix(ranked): error in ranked component --- client/src/components/Summoner/SummonerRanked.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Summoner/SummonerRanked.vue b/client/src/components/Summoner/SummonerRanked.vue index d3e9048..e8f2688 100644 --- a/client/src/components/Summoner/SummonerRanked.vue +++ b/client/src/components/Summoner/SummonerRanked.vue @@ -123,7 +123,7 @@ export default { methods: { animateLeagueDegrees(stop = false) { - if (stop) return + if (stop || !this.$refs.leagueBorder) return this.selectedLeague.leaguePoints > 50 ? this.currentDegree += 2 : this.currentDegree++