mirror of https://github.com/vector-im/riot-web
Merge pull request #680 from matrix-org/luke/rts-fix-reg-icon
Use new method of getting team iconpull/21833/head
commit
33fc4f7d8d
|
@ -426,7 +426,12 @@ module.exports = React.createClass({
|
||||||
return (
|
return (
|
||||||
<div className="mx_Login">
|
<div className="mx_Login">
|
||||||
<div className="mx_Login_box">
|
<div className="mx_Login_box">
|
||||||
<LoginHeader icon={this.state.teamSelected ? this.state.teamSelected.icon : null}/>
|
<LoginHeader
|
||||||
|
icon={this.state.teamSelected ?
|
||||||
|
this.props.teamServerConfig.teamServerURL + "/static/common/" +
|
||||||
|
this.state.teamSelected.domain + "/icon.png" :
|
||||||
|
null}
|
||||||
|
/>
|
||||||
{this._getRegisterContentJsx()}
|
{this._getRegisterContentJsx()}
|
||||||
<LoginFooter />
|
<LoginFooter />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue