mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
Remove pointless length guard
This commit is contained in:
parent
49f2b9df88
commit
9574a0b663
@ -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…
x
Reference in New Issue
Block a user