fix(front): fix display of participants list

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-08-02 15:14:47 +02:00
parent cc8f02d0a6
commit c6b83c42d6
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 7 additions and 5 deletions

View File

@ -110,10 +110,10 @@
:label="t('Participant')"
v-slot="props"
>
<article>
<article class="flex gap-2">
<figure v-if="props.row.actor.avatar">
<img
class="rounded"
class="rounded-full w-12 h-12 object-cover"
:src="props.row.actor.avatar.url"
alt=""
height="48"
@ -127,13 +127,15 @@
<AccountCircle v-else :size="48" />
<div>
<div class="prose dark:prose-invert">
<span v-if="props.row.actor.preferredUsername !== 'anonymous'">
<p v-if="props.row.actor.preferredUsername !== 'anonymous'">
<span v-if="props.row.actor.name">{{
props.row.actor.name
}}</span
><br />
>@{{ usernameWithDomain(props.row.actor) }}</span
>
<span class="text-sm"
>@{{ usernameWithDomain(props.row.actor) }}</span
>
</p>
<span v-else>
{{ t("Anonymous participant") }}
</span>