diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-10 16:46:06 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-10 16:46:06 +0200 |
commit | 811716592c71657a80b181b664639d19f9d1988e (patch) | |
tree | 2b20e24bbbb1f9b799430e6f9f37614f97f0ea78 /webclient/recents/recents.html | |
parent | Member event: store use the the latest one (diff) | |
download | synapse-811716592c71657a80b181b664639d19f9d1988e.tar.xz |
Made users count auto updating. Do show it if the info is not available (ex:user has not joined the room yet)
Diffstat (limited to '')
-rw-r--r-- | webclient/recents/recents.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webclient/recents/recents.html b/webclient/recents/recents.html index 4726b61cb3..d6bea52cbe 100644 --- a/webclient/recents/recents.html +++ b/webclient/recents/recents.html @@ -9,7 +9,9 @@ {{ room.room_id | mRoomName }} </td> <td class="recentsRoomSummaryTS"> - {{ room.numUsersInRoom || '1' }} {{ room.numUsersInRoom == 1 ? 'user' : 'users' }} + <span ng-show="undefined !== room.numUsersInRoom"> + {{ room.numUsersInRoom || '1' }} {{ room.numUsersInRoom == 1 ? 'user' : 'users' }} + </span> </td> <td class="recentsRoomSummaryTS"> {{ (room.lastMsg.ts) | date:'MMM d HH:mm' }} |