Browse Source

feat(nc-gui): disable dragging uncategorized stack

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

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

@ -137,11 +137,13 @@ openNewRecordFormHook?.on(async () => {
item-key="id"
group="kanban-stack"
draggable=".nc-kanban-stack"
filter=".not-draggable"
>
<template #item="{ element: stack }">
<template #item="{ element: stack, index }">
<a-card
:key="stack.id"
class="nc-kanban-stack mx-4 !bg-[#f0f2f5] flex flex-col min-w-[280px] h-full rounded-[12px]"
:class="{'not-draggable': stack.id === 'uncategorized'}"
head-style="padding-bottom: 0px;"
body-style="padding: 0px 20px; height: 100%;"
>

Loading…
Cancel
Save