Skip to content
Prev Previous commit
fixed issue related to disable hide download on selecting file drop o…
…nly permission

Signed-off-by: Yogesh Shejwadkar <[email protected]>
  • Loading branch information
TSI-yogeshshejwadkar committed Feb 14, 2022
commit 9d863e1894158e162fb445879c688217af83d0d3
5 changes: 5 additions & 0 deletions apps/files_sharing/src/components/SharingEntryLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,11 @@ export default {
const permissions = parseInt(event.target.value, 10)
this.share.permissions = permissions
this.queueUpdate('permissions')

if (permissions === OC.PERMISSION_CREATE) {
this.share.hideDownload = false
this.queueUpdate('hideDownload')
}
},

async copyLink() {
Expand Down