diff --git a/frontend/src/components/Leaderboard.vue b/frontend/src/components/Leaderboard.vue index 41ec4d1..f5ac5d9 100644 --- a/frontend/src/components/Leaderboard.vue +++ b/frontend/src/components/Leaderboard.vue @@ -52,11 +52,11 @@ export default { title() { return this.type === "totalplaytime" ? "Total Playtime" : "Highscore"; }, - nextPage() { + async nextPage() { if (this.page.length !== this.entriesPerPage) return; this.pageNumber++; - this.updatePage(); + await this.updatePage(); if (this.page.length === 0) { this.prevPage(); }