diff --git a/apps/files_sharing/src/views/SharingDetailsTab.vue b/apps/files_sharing/src/views/SharingDetailsTab.vue index a156bcfbf3e6f..6a3cd28330c34 100644 --- a/apps/files_sharing/src/views/SharingDetailsTab.vue +++ b/apps/files_sharing/src/views/SharingDetailsTab.vue @@ -181,7 +181,7 @@ {{ t('files_sharing', 'Hide download') }} @@ -701,6 +701,10 @@ export default { return (this.fileInfo.canDownload() || this.canDownload) }, + canShowDownloadPermission() { + return !this.isPublicShare && !this.isRemoteShare + }, + canRemoveReadPermission() { return this.allowsFileDrop && ( this.share.type === ShareType.Link