diff --git a/src/browser/components/MainPage.jsx b/src/browser/components/MainPage.jsx index 6c40c9a6..9d17dcca 100644 --- a/src/browser/components/MainPage.jsx +++ b/src/browser/components/MainPage.jsx @@ -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 = ( - { (this.state.targetURL === '' || this.state.targetURL.startsWith(currentTeamURL)) ? + { (this.state.targetURL === '') ? null :