mirror of
https://github.com/nextcloud/server.git
synced 2026-03-12 13:44:53 -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
c1451b2ab1
commit
186800a843
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