BF: use room_id if there is no alias

This commit is contained in:
Emmanuel ROHEE 2014-08-27 16:24:23 +02:00
parent 87190a9673
commit fb9661898d
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<div ng-controller="RecentsController" data-ng-init="onInit()">
<table class="recentsTable">
<tbody ng-repeat="(rm_id, room) in rooms | orderRecents" ng-click="goToPage('room/' + (room.room_alias ? room.room_alias : rm_id) )" class ="recentsRoom" >
<tbody ng-repeat="(rm_id, room) in rooms | orderRecents" ng-click="goToPage('room/' + (room.room_alias ? room.room_alias : room.room_id) )" class ="recentsRoom" >
<tr>
<td class="recentsRoomName">
{{ room.room_display_name }}