diff --git a/plugins/love-resources/src/components/ParticipantsList.svelte b/plugins/love-resources/src/components/ParticipantsList.svelte index 0319db1d86..d3b6f906e7 100644 --- a/plugins/love-resources/src/components/ParticipantsList.svelte +++ b/plugins/love-resources/src/components/ParticipantsList.svelte @@ -16,6 +16,7 @@ import { Avatar, personByIdStore } from '@hcengineering/contact-resources' import { ParticipantInfo } from '@hcengineering/love' import { Scroller } from '@hcengineering/ui' + import { formatName } from '@hcengineering/contact' export let items: (ParticipantInfo & { onclick?: (e: MouseEvent) => void })[] @@ -36,7 +37,7 @@ person={$personByIdStore.get(participant.person)} /> - {participant.name} + {formatName(participant.name)} {/each} diff --git a/plugins/love-resources/src/components/RoomButton.svelte b/plugins/love-resources/src/components/RoomButton.svelte index c452f5656b..66a8d2b5e9 100644 --- a/plugins/love-resources/src/components/RoomButton.svelte +++ b/plugins/love-resources/src/components/RoomButton.svelte @@ -17,6 +17,7 @@ import { Avatar, personByIdStore } from '@hcengineering/contact-resources' import { tooltip, deviceOptionsStore as deviceInfo, checkAdaptiveMatching } from '@hcengineering/ui' import { ParticipantInfo } from '@hcengineering/love' + import { formatName } from '@hcengineering/contact' import ParticipantsList from './ParticipantsList.svelte' export let label: string @@ -61,7 +62,7 @@
{#each participants as participant (participant._id)}