mirror of
https://github.com/nextcloud/server.git
synced 2026-05-19 08:25:56 -04:00
fix(SharingEntry): Hide edit button if user can not edit share
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
9236da20ad
commit
5d1cbc602f
1 changed files with 2 additions and 1 deletions
|
|
@ -45,7 +45,8 @@
|
|||
:file-info="fileInfo"
|
||||
@open-sharing-details="openShareDetailsForCustomSettings(share)" />
|
||||
</div>
|
||||
<NcButton class="sharing-entry__action"
|
||||
<NcButton v-if="share.canEdit"
|
||||
class="sharing-entry__action"
|
||||
data-cy-files-sharing-share-actions
|
||||
:aria-label="t('files_sharing', 'Open Sharing Details')"
|
||||
type="tertiary"
|
||||
|
|
|
|||
Loading…
Reference in a new issue