Skip to content

Commit

Permalink
feat(MemberPicker): Swap icons for admin and moderator
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <jonas@freesources.org>
  • Loading branch information
mejo- committed Jul 24, 2023
1 parent f2b9cbe commit 0993945
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Member/Member.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
:close-after-click="true"
@click="setMemberLevel(memberLevels.LEVEL_ADMIN)">
<template #icon>
<AccountCogIcon :size="20" />
<CrownIcon :size="20" />
</template>
{{ t('collectives', 'Promote to admin') }}
</NcActionButton>
<NcActionButton v-if="!isModerator"
:close-after-click="true"
@click="setMemberLevel(memberLevels.LEVEL_MODERATOR)">
<template #icon>
<CrownIcon :size="20" />
<AccountCogIcon :size="20" />
</template>
{{ setLevelModeratorString }}
</NcActionButton>
Expand Down

0 comments on commit 0993945

Please sign in to comment.