mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-23 18:56:10 +00:00
Better checks are better.
This commit is contained in:
parent
76fe7d4eba
commit
e0954f3b36
@ -30,7 +30,7 @@
|
|||||||
ng-class="room.room_display_name.toLowerCase().indexOf('#matrix:') === 0 ? 'roomHighlight' : ''">
|
ng-class="room.room_display_name.toLowerCase().indexOf('#matrix:') === 0 ? 'roomHighlight' : ''">
|
||||||
{{ room.room_display_name }}
|
{{ room.room_display_name }}
|
||||||
</a>
|
</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' }}
|
{{ room.num_joined_members }} {{ room.num_joined_members == 1 ? 'user' : 'users' }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user