Updated tags for VueDraggable compatibility

This commit is contained in:
Ciarán Ainsworth 2019-06-24 11:05:00 +02:00 committed by Eliot Berriot
parent 25fb1b0376
commit bd6407136f
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@
</div>
<section :class="['ui', 'bottom', 'attached', {active: selectedTab === 'queue'}, 'tab']">
<table class="ui compact inverted very basic fixed single line unstackable table">
<draggable v-model="tracks" element="tbody" @update="reorder">
<draggable v-model="tracks" tag="tbody" @update="reorder">
<tr
@click="$store.dispatch('queue/currentIndex', index)"
v-for="(track, index) in tracks"

View File

@ -60,7 +60,7 @@
<p><translate translate-context="Content/Playlist/Paragraph/Call to action">Drag and drop rows to reorder tracks in the playlist</translate></p>
<div class="table-wrapper">
<table class="ui compact very basic unstackable table">
<draggable v-model="plts" element="tbody" @update="reorder">
<draggable v-model="plts" tag="tbody" @update="reorder">
<tr v-for="(plt, index) in plts" :key="plt.id">
<td class="left aligned">{{ plt.index + 1}}</td>
<td class="center aligned">