From 1ada1dd3235b60bab518d03204998c71bb7780c5 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Thu, 29 Sep 2022 17:01:16 +0800 Subject: [PATCH] feat(nc-gui): disable some actions for share kanban view --- packages/nc-gui/components/smartsheet/Kanban.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Kanban.vue b/packages/nc-gui/components/smartsheet/Kanban.vue index 4e82d21cee..aaf7ad91c8 100644 --- a/packages/nc-gui/components/smartsheet/Kanban.vue +++ b/packages/nc-gui/components/smartsheet/Kanban.vue @@ -276,7 +276,7 @@ watch( :key="stack.id" class="mx-4 !bg-[#f0f2f5] flex flex-col w-[280px] h-full rounded-[12px]" :class="{ - 'not-draggable': stack.id === 'uncategorized' || isLocked || !isUIAllowed('xcDatatableEditable'), + 'not-draggable': stack.id === 'uncategorized' || isLocked || isPublic || !isUIAllowed('xcDatatableEditable'), '!cursor-default': isLocked || !isUIAllowed('xcDatatableEditable'), }" :head-style="{ paddingBottom: '0px' }" @@ -305,7 +305,7 @@ watch(