Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Handle more edge cases in Space Hierarchy #10280

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/structures/SpaceHierarchy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,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 });
weeman1337 marked this conversation as resolved.
Show resolved Hide resolved
if (numChildRooms !== undefined) {
description += " · " + _t("%(count)s rooms", { count: numChildRooms });
}
Expand Down