show group settings option only to users that can manage the group

This commit is contained in:
Kuchenpirat 2024-02-02 16:17:38 +00:00
parent e75b5f2f15
commit 6beea06a41

View File

@ -113,7 +113,7 @@
<p>{{ $t('profile.group-description') }}</p>
</div>
<v-row tag="section">
<v-col cols="12" sm="12" md="6">
<v-col v-if="$auth.user.canManage" cols="12" sm="12" md="6">
<UserProfileLinkCard
:link="{ text: $tc('profile.group-settings'), to: `/group` }"
:image="require('~/static/svgs/manage-group-settings.svg')"