mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Merge pull request #2314 from aaronraimist/empty-url-empty-lightbox
Fix empty lightbox when there is no avatarUrl
This commit is contained in:
commit
0ecaa2eb8f
1 changed files with 2 additions and 1 deletions
|
@ -158,7 +158,8 @@ module.exports = React.createClass({
|
||||||
<BaseAvatar {...otherProps} name={roomName}
|
<BaseAvatar {...otherProps} name={roomName}
|
||||||
idName={room ? room.roomId : null}
|
idName={room ? room.roomId : null}
|
||||||
urls={this.state.urls}
|
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 a new issue