review (remove participant count unknown)

Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
Timo K
2024-04-22 19:49:45 +02:00
parent a7f95ecfc1
commit be299d0a2b
2 changed files with 1 additions and 4 deletions

View File

@@ -102,7 +102,6 @@
"mute_microphone_button_label": "Mute microphone",
"participant_count_one": "{{count, number}}",
"participant_count_other": "{{count, number}}",
"participant_count_unkonwn": "unknown",
"rageshake_button_error_caption": "Retry sending logs",
"rageshake_request_modal": {
"body": "Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.",

View File

@@ -158,9 +158,7 @@ export const RoomHeaderInfo: FC<RoomHeaderInfoProps> = ({
aria-label={t("header_participants_label")}
/>
<Text as="span" size="sm" weight="medium">
{participantCount
? t("participant_count", { count: participantCount })
: t("participant_count_unkonwn")}
{t("participant_count", { count: participantCount ?? 0 })}
</Text>
</div>
)}