fix: don't make summoner basic request if we only change tab

This commit is contained in:
Valentin Kaelin 2020-02-14 23:05:59 +01:00
parent 81becdf390
commit 85bbf7faf9

View file

@ -160,7 +160,9 @@ export default {
},
watch: {
$route() {
$route(to, from) {
if (from.params.region === to.params.region && from.params.name === to.params.name)
return
this.apiCall()
}
},