1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-04 11:51:45 +03:00

Show subspace rooms count even if it is 0 for consistency

This commit is contained in:
Michael Telatynski
2021-05-19 13:00:46 +01:00
parent a9d0699488
commit 6e25e42e66

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