Code tidy-up and better name for label container class
This commit is contained in:
@@ -79,7 +79,6 @@ var RoomSubList = React.createClass({
|
||||
incomingCall: React.PropTypes.object,
|
||||
onShowMoreRooms: React.PropTypes.func,
|
||||
searchFilter: React.PropTypes.string,
|
||||
headerStack: React.PropTypes.func,
|
||||
},
|
||||
|
||||
getInitialState: function() {
|
||||
@@ -407,7 +406,7 @@ var RoomSubList = React.createClass({
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="mx_RoomSubList_stickyContainer">
|
||||
<div className="mx_RoomSubList_labelContainer">
|
||||
<div onClick={ this.onClick } className="mx_RoomSubList_label">
|
||||
{ this.props.collapsed ? '' : this.props.label }
|
||||
<div className="mx_RoomSubList_roomCount">{roomCount}</div>
|
||||
|
||||
Reference in New Issue
Block a user