From c5c9899381fe3e16ab5ddeba85314eb158fb9a90 Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Sun, 8 Oct 2023 20:05:10 +0000 Subject: [PATCH] fix: kanban issues drag --- .../components/cell/attachment/index.vue | 5 ++- .../nc-gui/components/smartsheet/Kanban.vue | 36 ++++++++++++++++++- 2 files changed, 39 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/cell/attachment/index.vue b/packages/nc-gui/components/cell/attachment/index.vue index b7565bec45..3144746e0f 100644 --- a/packages/nc-gui/components/cell/attachment/index.vue +++ b/packages/nc-gui/components/cell/attachment/index.vue @@ -8,6 +8,7 @@ import { DropZoneRef, IsExpandedFormOpenInj, IsGalleryInj, + IsKanbanInj, RowHeightInj, iconMap, inject, @@ -46,6 +47,8 @@ const isLockedMode = inject(IsLockedInj, ref(false)) const isGallery = inject(IsGalleryInj, ref(false)) +const isKanban = inject(IsKanbanInj, ref(false)) + const isExpandedForm = inject(IsExpandedFormOpenInj, ref(false)) const { isSharedForm } = useSmartsheetStoreOrThrow()! @@ -223,7 +226,7 @@ const onExpand = () => {