More winners, wines and link to see all wines

This commit is contained in:
Kasper Rynning-Tønnesen
2020-02-28 15:30:08 +01:00
parent d6ca19ecb8
commit 66d42340b5
2 changed files with 16 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="highscores" v-if="highscore.length > 0">
<h3>Topp 5 vinnere</h3>
<h3>Topp 10 vinnere</h3>
<ol>
<li v-for="person in highscore">
{{ person.name }} - {{ person.wins.length }}
@@ -23,7 +23,7 @@ export default {
response = response.filter(
person => person.name != null && person.name != ""
);
this.highscore = response.slice(0, 5);
this.highscore = response.slice(0, 10);
}
};
</script>