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 = () => {