Revert "Merge pull request #745 from mattermost/mm9922"

This reverts commit b5ff04256b, reversing
changes made to 800f85bb1f.
This commit is contained in:
Harrison Healey
2018-04-26 09:25:53 -04:00
parent e8997231d7
commit 846f05fac2

View File

@@ -317,7 +317,6 @@ const MainPage = createReactClass({
authServerURL = `${tmpURL.protocol}//${tmpURL.host}`;
authInfo = this.state.loginQueue[0].authInfo;
}
var currentTeamURL = this.props.teams[this.state.key].url;
var modal = (
<NewTeamModal
show={this.state.showNewTeamModal}
@@ -365,7 +364,7 @@ const MainPage = createReactClass({
{ viewsRow }
</Grid>
<TransitionGroup>
{ (this.state.targetURL === '' || this.state.targetURL.startsWith(currentTeamURL)) ?
{ (this.state.targetURL === '') ?
null :
<CSSTransition
classNames='hovering'