diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-09-08 12:15:20 -0700 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-09-08 12:15:29 -0700 |
commit | e0954f3b365c3f9f99ab8d91fc18ff933d836e72 (patch) | |
tree | b0f636476266958e18311977d23713e7943f8d1a /webclient | |
parent | Added num_joined_users key to /publicRooms for each room. Show this informati... (diff) | |
download | synapse-e0954f3b365c3f9f99ab8d91fc18ff933d836e72.tar.xz |
Better checks are better.
Diffstat (limited to 'webclient')
-rw-r--r-- | webclient/home/home.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/home/home.html b/webclient/home/home.html index cf6771814c..f3abd76a05 100644 --- a/webclient/home/home.html +++ b/webclient/home/home.html @@ -30,7 +30,7 @@ ng-class="room.room_display_name.toLowerCase().indexOf('#matrix:') === 0 ? 'roomHighlight' : ''"> {{ room.room_display_name }} </a> - <div ng-show="'num_joined_members' in room"> + <div ng-show="room.num_joined_members"> {{ room.num_joined_members }} {{ room.num_joined_members == 1 ? 'user' : 'users' }} </div> </div> |