diff --git a/packages/nc-gui/components/cell/attachment/index.vue b/packages/nc-gui/components/cell/attachment/index.vue index 89c6e3b872..9a4f2659c3 100644 --- a/packages/nc-gui/components/cell/attachment/index.vue +++ b/packages/nc-gui/components/cell/attachment/index.vue @@ -6,8 +6,6 @@ import { ActiveCellInj, CurrentCellInj, DropZoneRef, - IsGalleryInj, - IsKanbanInj, iconMap, inject, isImage, @@ -29,14 +27,10 @@ interface Emits { (event: 'update:modelValue', value: string | Record[]): void } -const { modelValue, rowIndex } = defineProps() +const { modelValue } = defineProps() const emits = defineEmits() -const isGallery = inject(IsGalleryInj, ref(false)) - -const isKanban = inject(IsKanbanInj, ref(false)) - const dropZoneInjection = inject(DropZoneRef, ref()) const attachmentCellRef = ref() diff --git a/packages/nc-gui/components/smartsheet/expanded-form/index.vue b/packages/nc-gui/components/smartsheet/expanded-form/index.vue index 6b9357b7a7..0c1e5285c7 100644 --- a/packages/nc-gui/components/smartsheet/expanded-form/index.vue +++ b/packages/nc-gui/components/smartsheet/expanded-form/index.vue @@ -11,7 +11,6 @@ import { ReloadRowDataHookInj, computedInject, createEventHook, - iconMap, inject, message, provide,