mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
Handle more edge cases in Space Hierarchy (#10280)
This commit is contained in:
parent
ca0dfb6c1e
commit
503df54bd6
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ const Tile: React.FC<ITileProps> = ({
|
|||
);
|
||||
}
|
||||
|
||||
let description = _t("%(count)s members", { count: room.num_joined_members });
|
||||
let description = _t("%(count)s members", { count: room.num_joined_members ?? 0 });
|
||||
if (numChildRooms !== undefined) {
|
||||
description += " · " + _t("%(count)s rooms", { count: numChildRooms });
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue