show share button only to admins

This commit is contained in:
mntmn 2020-04-09 17:50:48 +02:00
parent fab2a61f83
commit 6f1744bc5d

View File

@ -100,7 +100,9 @@
</div>
</div>
<button class="btn btn-transparent btn-icon-labeled" v-on:click="activate_access()">
<button class="btn btn-transparent btn-icon-labeled"
v-if="active_space_role=='admin'"
v-on:click="activate_access()">
<span class="icon icon-share"></span>
<span class="icon-label">[[ __('share') ]]</span>
</button>