fix(ranked): error in ranked component

This commit is contained in:
Valentin Kaelin 2020-08-25 16:33:41 +02:00
parent dbd87baab4
commit 2a03163a14

View file

@ -123,7 +123,7 @@ export default {
methods: { methods: {
animateLeagueDegrees(stop = false) { animateLeagueDegrees(stop = false) {
if (stop) return if (stop || !this.$refs.leagueBorder) return
this.selectedLeague.leaguePoints > 50 ? this.currentDegree += 2 : this.currentDegree++ this.selectedLeague.leaguePoints > 50 ? this.currentDegree += 2 : this.currentDegree++