Better checks are better.

pull/10/head
Kegan Dougal 2014-09-08 12:15:20 -07:00
parent 76fe7d4eba
commit e0954f3b36
1 changed files with 1 additions and 1 deletions

View File

@ -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>