Topp 5 instead of highscore and all that

This commit is contained in:
Kasper Rynning-Tønnesen
2020-01-31 16:14:57 +01:00
parent 2e17b4cca3
commit 0cbc495a89
2 changed files with 5 additions and 3 deletions

View File

@@ -1,8 +1,10 @@
<template>
<div class="highscores" v-if="highscore.length > 0">
<h3>Highscore</h3>
<h3>Topp 5 vinnere</h3>
<ol>
<li v-for="person in highscore">{{ person.name }} - {{ person.wins.length }}</li>
<li v-for="person in highscore">
{{ person.name }} - {{ person.wins.length }}
</li>
</ol>
</div>
</template>

View File

@@ -1,6 +1,6 @@
<template>
<div v-if="wines.length > 0">
<h3>Topp viner</h3>
<h3>Topp 5 viner</h3>
<ol>
<li v-for="wine in wines">
<span v-if="wine.vivinoLink == '' || wine.vivinoLink == null">