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

Show subspace rooms count even if it is 0 for consistency
pull/21833/head
Michael Telatynski 2021-05-19 15:41:30 +01:00 committed by GitHub
commit b252005778
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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) {