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 }, 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> </nuxt-link>
</template> </template>
<template #name="scope"> <template #name="scope">
@ -80,9 +80,13 @@
</template> </template>
<script> <script>
import { changeGroupMemberRoleMutation, removeUserFromGroupMutation } from '~/graphql/groups.js' import { changeGroupMemberRoleMutation, removeUserFromGroupMutation } from '~/graphql/groups.js'
import ProfileAvatar from '~/components/_new/generic/ProfileAvatar/ProfileAvatar'
export default { export default {
name: 'GroupMember', name: 'GroupMember',
components: {
ProfileAvatar,
},
props: { props: {
groupId: { groupId: {
type: String, type: String,