Added :index to list items where it was missing
This commit is contained in:
parent
92e7035ff8
commit
12b736baa0
3 changed files with 5 additions and 4 deletions
|
@ -51,7 +51,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<mediaitem-list-item
|
||||
v-for="song in data.views['top-songs'].data.limit(topSongsExpanded ? 10 : 5)"
|
||||
v-for="(song, index) in data.views['top-songs'].data.limit(topSongsExpanded ? 10 : 5)"
|
||||
:index="index"
|
||||
:item="song"></mediaitem-list-item>
|
||||
<button class="showmoreless"
|
||||
@click="topSongsExpanded = !topSongsExpanded">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue