Skip to content

Commit

Permalink
Fix draggable regression on datatable
Browse files Browse the repository at this point in the history
  • Loading branch information
ifox committed Mar 17, 2020
1 parent c564ecc commit a79e3d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/js/components/table/Datatable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
<a17-tablehead :columns="visibleColumns" ref="thead"/>
</thead>
<template v-if="draggable">
<draggable class="datatable__drag" :tag="'tbody'" v-model="rows" :options="dragOptions"
:draggable="true">
<draggable class="datatable__drag" :tag="'tbody'" v-model="rows" :options="dragOptions">
<template v-for="(row, index) in rows">
<a17-tablerow :row="row" :index="index" :columns="visibleColumns" :key="row.id"/>
</template>
Expand Down

0 comments on commit a79e3d2

Please sign in to comment.