diff --git a/frontend/common/stores/account-store.js b/frontend/common/stores/account-store.js index 47eeb7631e32..d2cfc9e4e653 100644 --- a/frontend/common/stores/account-store.js +++ b/frontend/common/stores/account-store.js @@ -52,7 +52,7 @@ const controller = { store.saved() if (isLoginPage) { - window.location.href = `/projects` + window.location.href = `/organisation-settings` } }) .catch((e) => { diff --git a/frontend/web/components/App.js b/frontend/web/components/App.js index 1309552de594..7bf1494cf9be 100644 --- a/frontend/web/components/App.js +++ b/frontend/web/components/App.js @@ -23,7 +23,6 @@ import Icon from './Icon' import AccountStore from 'common/stores/account-store' import InfoMessage from './InfoMessage' import OrganisationLimit from './OrganisationLimit' -import OrganisationLink from './OrganisationLink' import GithubStar from './GithubStar' import Tooltip from './Tooltip' @@ -168,7 +167,7 @@ const App = class extends Component { id: lastEnv.orgId, }) if (!lastOrg) { - this.context.router.history.replace('/projects') + this.context.router.history.replace('/organisation-settings') return } @@ -184,7 +183,7 @@ const App = class extends Component { return } - this.context.router.history.replace('/projects') + this.context.router.history.replace('/organisation-settings') }) } } @@ -349,7 +348,21 @@ const App = class extends Component {