diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2018-12-18 11:53:09 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-12-20 11:43:28 +0100 |
commit | 3fc77718cf0e14555367dd8f3492205db3f5ce8c (patch) | |
tree | 5dc1c8bb7d11ad33f17054d64abfb37e7a28736d /server/sonar-web/src/main/js/apps/create/organization/CreateOrganization.tsx | |
parent | 90ed118a35ce03cd51794271ff4865e4e9c46584 (diff) | |
download | sonarqube-3fc77718cf0e14555367dd8f3492205db3f5ce8c.tar.gz sonarqube-3fc77718cf0e14555367dd8f3492205db3f5ce8c.zip |
SONARCLOUD-264 Use same empty organization space in projects page
Diffstat (limited to 'server/sonar-web/src/main/js/apps/create/organization/CreateOrganization.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/create/organization/CreateOrganization.tsx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/apps/create/organization/CreateOrganization.tsx b/server/sonar-web/src/main/js/apps/create/organization/CreateOrganization.tsx index 7ccc09db294..e368675861c 100644 --- a/server/sonar-web/src/main/js/apps/create/organization/CreateOrganization.tsx +++ b/server/sonar-web/src/main/js/apps/create/organization/CreateOrganization.tsx @@ -205,7 +205,7 @@ export class CreateOrganization extends React.PureComponent<Props & WithRouterPr this.updateUrlQuery({ almInstallId: undefined, almKey: undefined }); }; - handleOrgCreated = (organization: string, justCreated = true) => { + handleOrgCreated = (organization: string) => { this.props.skipOnboarding(); if (this.isStoredTimestampValid(ORGANIZATION_IMPORT_REDIRECT_TO_PROJECT_TIMESTAMP)) { this.props.router.push({ @@ -213,10 +213,7 @@ export class CreateOrganization extends React.PureComponent<Props & WithRouterPr state: { organization, tab: this.state.almOrganization ? 'auto' : 'manual' } }); } else { - this.props.router.push({ - pathname: getOrganizationUrl(organization), - state: { justCreated } - }); + this.props.router.push({ pathname: getOrganizationUrl(organization) }); } }; |