fix(front): fix display of participants list
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
cc8f02d0a6
commit
c6b83c42d6
|
@ -110,10 +110,10 @@
|
||||||
:label="t('Participant')"
|
:label="t('Participant')"
|
||||||
v-slot="props"
|
v-slot="props"
|
||||||
>
|
>
|
||||||
<article>
|
<article class="flex gap-2">
|
||||||
<figure v-if="props.row.actor.avatar">
|
<figure v-if="props.row.actor.avatar">
|
||||||
<img
|
<img
|
||||||
class="rounded"
|
class="rounded-full w-12 h-12 object-cover"
|
||||||
:src="props.row.actor.avatar.url"
|
:src="props.row.actor.avatar.url"
|
||||||
alt=""
|
alt=""
|
||||||
height="48"
|
height="48"
|
||||||
|
@ -127,13 +127,15 @@
|
||||||
<AccountCircle v-else :size="48" />
|
<AccountCircle v-else :size="48" />
|
||||||
<div>
|
<div>
|
||||||
<div class="prose dark:prose-invert">
|
<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">{{
|
<span v-if="props.row.actor.name">{{
|
||||||
props.row.actor.name
|
props.row.actor.name
|
||||||
}}</span
|
}}</span
|
||||||
><br />
|
><br />
|
||||||
>@{{ usernameWithDomain(props.row.actor) }}</span
|
<span class="text-sm"
|
||||||
>
|
>@{{ usernameWithDomain(props.row.actor) }}</span
|
||||||
|
>
|
||||||
|
</p>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
{{ t("Anonymous participant") }}
|
{{ t("Anonymous participant") }}
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue