Formatting

pull/21833/head
Luke Barnard 2017-01-30 16:13:57 +00:00
parent 4e0889454a
commit 318d871097
1 changed files with 5 additions and 3 deletions

View File

@ -97,9 +97,11 @@ module.exports = React.createClass({
this.registerLogic.setGuestAccessToken(this.props.guestAccessToken); this.registerLogic.setGuestAccessToken(this.props.guestAccessToken);
this.registerLogic.recheckState(); this.registerLogic.recheckState();
if (this.props.teamServerConfig && if (
this.props.teamServerConfig.teamServerURL && this.props.teamServerConfig &&
!this._rtsClient) { this.props.teamServerConfig.teamServerURL &&
!this._rtsClient
) {
this._rtsClient = new RtsClient(this.props.teamServerConfig.teamServerURL); this._rtsClient = new RtsClient(this.props.teamServerConfig.teamServerURL);
// GET team configurations including domains, names and icons // GET team configurations including domains, names and icons