Merge pull request #6067 from matrix-org/t3chguy/spaces-0-subrooms

Show subspace rooms count even if it is 0 for consistency
This commit is contained in:
Michael Telatynski
2021-05-19 15:41:30 +01:00
committed by GitHub

View File

@@ -152,7 +152,7 @@ const Tile: React.FC<ITileProps> = ({
}
let description = _t("%(count)s members", { count: room.num_joined_members });
if (numChildRooms) {
if (numChildRooms !== undefined) {
description += " · " + _t("%(count)s rooms", { count: numChildRooms });
}
if (room.topic) {