aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/components/StartupModal.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/StartupModal.tsx')
-rw-r--r--server/sonar-web/src/main/js/app/components/StartupModal.tsx6
1 files changed, 0 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/app/components/StartupModal.tsx b/server/sonar-web/src/main/js/app/components/StartupModal.tsx
index bb92eb2c447..c26d26f032a 100644
--- a/server/sonar-web/src/main/js/app/components/StartupModal.tsx
+++ b/server/sonar-web/src/main/js/app/components/StartupModal.tsx
@@ -112,11 +112,6 @@ export class StartupModal extends React.PureComponent<Props, State> {
this.setState({ modal: ModalKey.onboarding });
};
- openOrganizationOnboarding = () => {
- this.setState({ automatic: false, modal: undefined });
- this.props.router.push({ pathname: '/create-organization', state: { paid: true } });
- };
-
openProjectOnboarding = (organization?: T.Organization) => {
if (isSonarCloud()) {
this.setState({ automatic: false, modal: undefined });
@@ -183,7 +178,6 @@ export class StartupModal extends React.PureComponent<Props, State> {
{modal === ModalKey.onboarding && (
<OnboardingModal
onClose={this.closeOnboarding}
- onOpenOrganizationOnboarding={this.openOrganizationOnboarding}
onOpenProjectOnboarding={this.openProjectOnboarding}
onOpenTeamOnboarding={this.openTeamOnboarding}
/>