Browse Source

fix(nc-gui): onMoveCallback type

pull/3563/head
Wing-Kam Wong 2 years ago
parent
commit
bc029042ce
  1. 2
      packages/nc-gui/components/smartsheet/Kanban.vue

2
packages/nc-gui/components/smartsheet/Kanban.vue

@ -145,7 +145,7 @@ const expandFormClick = async (e: MouseEvent, row: RowType) => {
}
/** Block dragging the stack to first index (reserved for uncategorized) **/
function onMoveCallback(event: any) {
function onMoveCallback(event: { draggedContext: { futureIndex: number } }) {
if (event.draggedContext.futureIndex === 0) {
return false
}

Loading…
Cancel
Save