mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-04 13:05:21 +02:00
show group settings option only to users that can manage the group
This commit is contained in:
parent
e75b5f2f15
commit
6beea06a41
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@
|
||||||
<p>{{ $t('profile.group-description') }}</p>
|
<p>{{ $t('profile.group-description') }}</p>
|
||||||
</div>
|
</div>
|
||||||
<v-row tag="section">
|
<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
|
<UserProfileLinkCard
|
||||||
:link="{ text: $tc('profile.group-settings'), to: `/group` }"
|
:link="{ text: $tc('profile.group-settings'), to: `/group` }"
|
||||||
:image="require('~/static/svgs/manage-group-settings.svg')"
|
:image="require('~/static/svgs/manage-group-settings.svg')"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue