put invites above recents

This commit is contained in:
Matthew Hodgson 2015-11-03 14:35:48 +00:00
parent b1b2704bed
commit 27cf9cf561

View file

@ -62,11 +62,10 @@ module.exports = React.createClass({
<div className="mx_RoomList" onScroll={this._repositionTooltip}> <div className="mx_RoomList" onScroll={this._repositionTooltip}>
{ expandButton } { expandButton }
{ callElement } { callElement }
{ invites }
<h2 className="mx_RoomList_favouritesLabel">Favourites</h2> <h2 className="mx_RoomList_favouritesLabel">Favourites</h2>
<RoomDropTarget text="Drop here to favourite"/> <RoomDropTarget text="Drop here to favourite"/>
{ invites }
<h2 className="mx_RoomList_recentsLabel">{ recentsLabel }</h2> <h2 className="mx_RoomList_recentsLabel">{ recentsLabel }</h2>
<div className="mx_RoomList_recents"> <div className="mx_RoomList_recents">
{this.makeRoomTiles(this.state.roomList, false)} {this.makeRoomTiles(this.state.roomList, false)}