diff --git a/packages/nc-gui/components/cell/attachment/index.vue b/packages/nc-gui/components/cell/attachment/index.vue index 4c4a35a267..5322f47eaa 100644 --- a/packages/nc-gui/components/cell/attachment/index.vue +++ b/packages/nc-gui/components/cell/attachment/index.vue @@ -7,6 +7,7 @@ import { CurrentCellInj, DropZoneRef, IsExpandedFormOpenInj, + IsGalleryInj, RowHeightInj, iconMap, inject, @@ -43,6 +44,8 @@ const currentCellRef = inject(CurrentCellInj, dropZoneInjection.value) const isLockedMode = inject(IsLockedInj, ref(false)) +const isGallery = inject(IsGalleryInj, ref(false)) + const isExpandedForm = inject(IsExpandedFormOpenInj, ref(false)) const { isSharedForm } = useSmartsheetStoreOrThrow()! @@ -200,8 +203,8 @@ const rowHeight = inject(RowHeightInj, ref()) @@ -325,8 +318,8 @@ watch( /> -
-
+
+
-
+