mirror of https://github.com/nextcloud/bookmarks
UI: Don't show share action when sharing is not allowed
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
bbf527e039
commit
e785ea3c02
|
@ -45,7 +45,10 @@
|
|||
<ActionCheckbox @change="clickSelect">
|
||||
{{ t('bookmarks', 'Select folder') }}
|
||||
</ActionCheckbox>
|
||||
<ActionButton icon="icon-share" :close-after-click="true" @click="onShare">
|
||||
<ActionButton v-if="permissions.canShare"
|
||||
icon="icon-share"
|
||||
:close-after-click="true"
|
||||
@click="onShare">
|
||||
{{ t('bookmarks', 'Share folder') }}
|
||||
</ActionButton>
|
||||
<ActionButton icon="icon-rename" :close-after-click="true" @click="onRename">
|
||||
|
|
Loading…
Reference in New Issue