Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

Commit 31ee94d

Browse files
justjannetoomore
authored andcommitted
Handle more edge cases in Space Hierarchy (#10280)
1 parent d653cdf commit 31ee94d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/structures/SpaceHierarchy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ const Tile: React.FC<ITileProps> = ({
199199
);
200200
}
201201

202-
let description = _t("%(count)s members", { count: room.num_joined_members });
202+
let description = _t("%(count)s members", { count: room.num_joined_members ?? 0 });
203203
if (numChildRooms !== undefined) {
204204
description += " · " + _t("%(count)s rooms", { count: numChildRooms });
205205
}

0 commit comments

Comments
 (0)