Merge pull request #777 from mattermost/revert-mm9922
Revert "Merge pull request #745 from mattermost/mm9922"
This commit is contained in:
@@ -317,7 +317,6 @@ const MainPage = createReactClass({
|
|||||||
authServerURL = `${tmpURL.protocol}//${tmpURL.host}`;
|
authServerURL = `${tmpURL.protocol}//${tmpURL.host}`;
|
||||||
authInfo = this.state.loginQueue[0].authInfo;
|
authInfo = this.state.loginQueue[0].authInfo;
|
||||||
}
|
}
|
||||||
var currentTeamURL = this.props.teams[this.state.key].url;
|
|
||||||
var modal = (
|
var modal = (
|
||||||
<NewTeamModal
|
<NewTeamModal
|
||||||
show={this.state.showNewTeamModal}
|
show={this.state.showNewTeamModal}
|
||||||
@@ -365,7 +364,7 @@ const MainPage = createReactClass({
|
|||||||
{ viewsRow }
|
{ viewsRow }
|
||||||
</Grid>
|
</Grid>
|
||||||
<TransitionGroup>
|
<TransitionGroup>
|
||||||
{ (this.state.targetURL === '' || this.state.targetURL.startsWith(currentTeamURL)) ?
|
{ (this.state.targetURL === '') ?
|
||||||
null :
|
null :
|
||||||
<CSSTransition
|
<CSSTransition
|
||||||
classNames='hovering'
|
classNames='hovering'
|
||||||
|
Reference in New Issue
Block a user