mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
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:
commit
b252005778
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue