Merge pull request #46599 from nextcloud/backport/46589/stable28

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

View file

@ -567,7 +567,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

3
dist/4234-4234.js vendored Normal file

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

3
dist/7144-7144.js vendored

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