mirror of
https://github.com/koel/koel
synced 2024-11-10 14:44:13 +00:00
Properly keep track of song items (fixes #427)
This commit is contained in:
parent
98b633df57
commit
43467e3393
2 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,6 @@
|
|||
class="song-item"
|
||||
draggable="true"
|
||||
:data-song-id="song.id"
|
||||
key="id"
|
||||
@click="$parent.rowClick(song.id, $event)"
|
||||
@dblclick.prevent="playRightAwayyyyyyy"
|
||||
@dragstart="$parent.dragStart(song.id, $event)"
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr is="song-item" v-for="item in displayedItems" :song="item" ref="rows"/>
|
||||
<tr is="song-item" v-for="item in displayedItems" :song="item" ref="rows" :key="item.id"/>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
|
Loading…
Reference in a new issue