Address review comments

Minor fixes post-review
This commit is contained in:
Richard van der Hoff 2016-01-04 16:54:27 +00:00
parent cc72f7ec24
commit e177263d9f
2 changed files with 12 additions and 11 deletions

View file

@ -109,7 +109,7 @@ module.exports = React.createClass({
var searchStatus;
// don't display the search count until the search completes and
// gives us a non-null searchCount.
// gives us a valid (possibly zero) searchCount.
if (this.props.searchInfo && this.props.searchInfo.searchCount != null) {
searchStatus = <div className="mx_RoomHeader_searchStatus">&nbsp;(~{ this.props.searchInfo.searchCount } results)</div>;
}