Show subspace rooms count even if it is 0 for consistency

pull/21833/head
Michael Telatynski 2021-05-19 13:00:46 +01:00
parent a9d0699488
commit 6e25e42e66
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) {