Browse Source

fix: Disabled dnd for display column

pull/6815/head
Muhammed Mustafa 1 year ago
parent
commit
c95b4e1afe
  1. 4
      packages/nc-gui/components/smartsheet/grid/Table.vue

4
packages/nc-gui/components/smartsheet/grid/Table.vue

@ -1288,7 +1288,7 @@ const loaderText = computed(() => {
</div> </div>
</th> </th>
<th <th
v-for="col in fields" v-for="(col, index) in fields"
:key="col.title" :key="col.title"
v-xc-ver-resize v-xc-ver-resize
:data-col="col.id" :data-col="col.id"
@ -1309,7 +1309,7 @@ const loaderText = computed(() => {
> >
<div <div
class="w-full h-full flex items-center" class="w-full h-full flex items-center"
:draggable="isMobileMode ? 'false' : 'true'" :draggable="isMobileMode || index === 0 ? 'false' : 'true'"
@dragstart.stop="onDragStart(col.id!, $event)" @dragstart.stop="onDragStart(col.id!, $event)"
@drag.stop="onDrag($event)" @drag.stop="onDrag($event)"
> >

Loading…
Cancel
Save