diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-04-15 13:09:41 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-06-09 11:36:43 +0300 |
commit | 9467a9386629468c3ddf3c77de2db6b9621e972f (patch) | |
tree | 108b94a42385590fa187b2b69232b75e634c4c73 /apps/files_sharing/src/components | |
parent | 06bfbb4a8c709ece9eb0fd2b41a7a3e29ae70960 (diff) |
Only allow removing existing shares that would not be allowed due to reshare restrictions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_sharing/src/components')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntryLink.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index c214bc12503..37e52850754 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -131,7 +131,7 @@ :open.sync="open" @close="onMenuClose"> <template v-if="share"> - <template v-if="share.canEdit"> + <template v-if="share.canEdit && canReshare"> <!-- Custom Label --> <ActionInput ref="label" |