Only allow removing existing shares that would not be allowed due to reshare restrictions

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2021-04-15 12:09:41 +02:00
parent 26b4cde016
commit 140dd424ae
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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"