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