fix duplicate key error in track list
same track id can be listed multiple times
This commit is contained in:
parent
1e2ba624a7
commit
9540ba4247
@ -12,7 +12,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="(item, index) in tracks" :key="item.id"
|
<tr v-for="(item, index) in tracks" :key="index"
|
||||||
draggable="true" @dragstart="dragstart(item.id, $event)"
|
draggable="true" @dragstart="dragstart(item.id, $event)"
|
||||||
:class="{'text-primary': item.id === playingTrackId}">
|
:class="{'text-primary': item.id === playingTrackId}">
|
||||||
<td class="pl-0 pr-0 text-center text-muted"
|
<td class="pl-0 pr-0 text-center text-muted"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user