mirror of https://github.com/vector-im/riot-web
Handle more edge cases in Space Hierarchy (#10280)
parent
ca0dfb6c1e
commit
503df54bd6
|
@ -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) {
|
if (numChildRooms !== undefined) {
|
||||||
description += " · " + _t("%(count)s rooms", { count: numChildRooms });
|
description += " · " + _t("%(count)s rooms", { count: numChildRooms });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue