All v-for gets a key
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="highscores" v-if="highscore.length > 0">
|
||||
<h3>Topp 10 vinnere</h3>
|
||||
<ol>
|
||||
<li v-for="person in highscore">
|
||||
<li v-for="person in highscore" :key="person">
|
||||
{{ person.name }} - {{ person.wins.length }}
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
>
|
||||
</h3>
|
||||
<ol>
|
||||
<li v-for="wine in wines">
|
||||
<li v-for="wine in wines" :key="wine">
|
||||
<span v-if="wine.vivinoLink == '' || wine.vivinoLink == null">
|
||||
{{ wine.name }} - sett {{ wine.occurences }} ganger,
|
||||
{{ wine.rating }} i rating
|
||||
|
||||
Reference in New Issue
Block a user