Topp 5 instead of highscore and all that
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="highscores" v-if="highscore.length > 0">
|
<div class="highscores" v-if="highscore.length > 0">
|
||||||
<h3>Highscore</h3>
|
<h3>Topp 5 vinnere</h3>
|
||||||
<ol>
|
<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>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-if="wines.length > 0">
|
<div v-if="wines.length > 0">
|
||||||
<h3>Topp viner</h3>
|
<h3>Topp 5 viner</h3>
|
||||||
<ol>
|
<ol>
|
||||||
<li v-for="wine in wines">
|
<li v-for="wine in wines">
|
||||||
<span v-if="wine.vivinoLink == '' || wine.vivinoLink == null">
|
<span v-if="wine.vivinoLink == '' || wine.vivinoLink == null">
|
||||||
|
|||||||
Reference in New Issue
Block a user