properly render avatars in group settings

This commit is contained in:
Ulf Gebhardt 2023-05-08 13:06:18 +02:00
parent 54656e5294
commit f4efe245a7
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -10,7 +10,7 @@
params: { id: scope.row.id, slug: scope.row.slug },
}"
>
<ds-avatar online size="small" :name="scope.row.name"></ds-avatar>
<profile-avatar :profile="scope.row" size="small" />
</nuxt-link>
</template>
<template #name="scope">
@ -80,9 +80,13 @@
</template>
<script>
import { changeGroupMemberRoleMutation, removeUserFromGroupMutation } from '~/graphql/groups.js'
import ProfileAvatar from '~/components/_new/generic/ProfileAvatar/ProfileAvatar'
export default {
name: 'GroupMember',
components: {
ProfileAvatar,
},
props: {
groupId: {
type: String,