Skip to content

Commit 140dd42

Browse files
committed
Only allow removing existing shares that would not be allowed due to reshare restrictions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 parent 26b4cde commit 140dd42

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

apps/files_sharing/js/dist/files_sharing_tab.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/files_sharing/js/dist/files_sharing_tab.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/files_sharing/src/components/SharingEntryLink.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
:open.sync="open"
132132
@close="onMenuClose">
133133
<template v-if="share">
134-
<template v-if="share.canEdit">
134+
<template v-if="share.canEdit && canReshare">
135135
<!-- Custom Label -->
136136
<ActionInput
137137
ref="label"

0 commit comments

Comments
 (0)