Fixed various warnings

This commit is contained in:
Eliot Berriot 2017-12-12 23:52:26 +01:00
parent c4ed7513c5
commit 2e5c714a59
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
3 changed files with 88 additions and 1 deletions

View file

@ -8,7 +8,7 @@
<div class="column">
<h2 class="ui header">Latest artists</h2>
<div :class="['ui', {'active': isLoadingArtists}, 'inline', 'loader']"></div>
<div v-if="artists.length > 0" v-for="artist in artists.slice(0, 3)" :key="artist" class="ui cards">
<div v-if="artists.length > 0" v-for="artist in artists.slice(0, 3)" :key="artist.id" class="ui cards">
<artist-card :artist="artist"></artist-card>
</div>
</div>