Merge pull request #46598 from nextcloud/backport/46589/stable29

This commit is contained in:
John Molakvoæ 2024-07-18 09:41:13 +02:00 committed by GitHub
commit ebdf65a28b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 11 additions and 8 deletions

View file

@ -599,7 +599,10 @@ export default {
return (this.fileInfo.canDownload() || this.canDownload)
},
canRemoveReadPermission() {
return this.allowsFileDrop && this.share.type === this.SHARE_TYPES.SHARE_TYPE_LINK
return this.allowsFileDrop && (
this.share.type === this.SHARE_TYPES.SHARE_TYPE_LINK
|| this.share.type === this.SHARE_TYPES.SHARE_TYPE_EMAIL
)
},
// if newPassword exists, but is empty, it means
// the user deleted the original password

File diff suppressed because one or more lines are too long

1
dist/4605-4605.js.map vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long