mirror of https://github.com/vector-im/riot-web
Merge pull request #2314 from aaronraimist/empty-url-empty-lightbox
Fix empty lightbox when there is no avatarUrlpull/21833/head
commit
0ecaa2eb8f
|
@ -158,7 +158,8 @@ module.exports = React.createClass({
|
|||
<BaseAvatar {...otherProps} name={roomName}
|
||||
idName={room ? room.roomId : null}
|
||||
urls={this.state.urls}
|
||||
onClick={this.props.viewAvatarOnClick ? this.onRoomAvatarClick : null} />
|
||||
onClick={this.props.viewAvatarOnClick ? this.onRoomAvatarClick : null}
|
||||
disabled={!this.state.urls[0]} />
|
||||
);
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue