Browse Source

fix: Disabled dnd for columns when there is column update permssion

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

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

@ -1309,7 +1309,7 @@ const loaderText = computed(() => {
>
<div
class="w-full h-full flex items-center"
:draggable="isMobileMode || index === 0 ? 'false' : 'true'"
:draggable="isMobileMode || index === 0 || readOnly || !hasEditPermission ? 'false' : 'true'"
@dragstart.stop="onDragStart(col.id!, $event)"
@drag.stop="onDrag($event)"
>

Loading…
Cancel
Save