Forgot this prefix when referencing data value.
This commit is contained in:
@@ -32,7 +32,7 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
return fetch(`/api/history/by-wins?limit=${limit}`)
|
return fetch(`/api/history/by-wins?limit=${this.limit}`)
|
||||||
.then(resp => resp.json())
|
.then(resp => resp.json())
|
||||||
.then(response => {
|
.then(response => {
|
||||||
this.highscore = response.winners;
|
this.highscore = response.winners;
|
||||||
|
|||||||
Reference in New Issue
Block a user