mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 23:31:28 +03:00
Remove pointless length guard
This commit is contained in:
parent
49f2b9df88
commit
9574a0b663
1 changed files with 0 additions and 4 deletions
|
@ -66,10 +66,6 @@ module.exports = React.createClass({
|
|||
},
|
||||
|
||||
_renderNameList: function(users) {
|
||||
if (users.length === 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return this._renderCommaSeparatedList(users, this.props.summaryLength);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue