Forgot this prefix when referencing data value.

This commit is contained in:
2021-02-19 01:04:01 +01:00
parent 60044859eb
commit e89952d965

View File

@@ -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;