diff --git a/packages/nc-gui/components/project/spreadsheet/components/editableCell.vue b/packages/nc-gui/components/project/spreadsheet/components/editableCell.vue index 8d39585d7e..914e18fe9f 100644 --- a/packages/nc-gui/components/project/spreadsheet/components/editableCell.vue +++ b/packages/nc-gui/components/project/spreadsheet/components/editableCell.vue @@ -14,6 +14,7 @@ :db-alias="dbAlias" :meta="meta" :column="column" + :is-public-grid="isPublic && !isForm" v-on="$listeners" /> @@ -107,7 +108,7 @@ {{ hint }} -
+
diff --git a/packages/nc-gui/components/project/spreadsheet/components/editableCell/editableAttachmentCell.vue b/packages/nc-gui/components/project/spreadsheet/components/editableCell/editableAttachmentCell.vue index cbc57753ae..97c0b748d1 100644 --- a/packages/nc-gui/components/project/spreadsheet/components/editableCell/editableAttachmentCell.vue +++ b/packages/nc-gui/components/project/spreadsheet/components/editableCell/editableAttachmentCell.vue @@ -57,7 +57,7 @@
-
+
mdi-loading mdi-spin @@ -82,7 +82,7 @@
- + mdi-link-variant @@ -103,7 +103,7 @@ height="200px" style="position: relative" > - + mdi-close-circle @@ -229,7 +229,7 @@ import { isImage } from '@/components/project/spreadsheet/helpers/imageExt' export default { name: 'EditableAttachmentCell', components: { draggable }, - props: ['dbAlias', 'value', 'active', 'isLocked', 'meta', 'column'], + props: ['dbAlias', 'value', 'active', 'isLocked', 'meta', 'column', 'isPublicGrid'], data: () => ({ carousel: null, uploading: false, @@ -287,6 +287,7 @@ export default { } }, async onFileSelection() { + if (this.isPublicGrid) { return } if (!this.$refs.file.files || !this.$refs.file.files.length) { return }