diff options
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.tsx | 14 |
1 files changed, 1 insertions, 13 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 45cf0a3d7b4..c5d84e6c8eb 100644 --- a/server/sonar-web/src/main/js/app/components/StartupModal.tsx +++ b/server/sonar-web/src/main/js/app/components/StartupModal.tsx @@ -36,9 +36,6 @@ const LicensePromptModal = lazyLoad( () => import('../../apps/marketplace/components/LicensePromptModal'), 'LicensePromptModal' ); -const TeamOnboardingModal = lazyLoad(() => - import('../../apps/tutorials/teamOnboarding/TeamOnboardingModal') -); interface StateProps { canAdmin?: boolean; @@ -63,8 +60,7 @@ type Props = StateProps & DispatchProps & OwnProps & WithRouterProps; enum ModalKey { license, - onboarding, - teamOnboarding + onboarding } interface State { @@ -113,10 +109,6 @@ export class StartupModal extends React.PureComponent<Props, State> { this.props.router.push({ pathname: `/projects/create`, state }); }; - openTeamOnboarding = () => { - this.setState({ modal: ModalKey.teamOnboarding }); - }; - tryAutoOpenLicense = () => { const { canAdmin, currentEdition, currentUser } = this.props; const hasLicenseManager = hasMessage('license.prompt.title'); @@ -161,12 +153,8 @@ export class StartupModal extends React.PureComponent<Props, State> { <OnboardingModal onClose={this.closeOnboarding} onOpenProjectOnboarding={this.openProjectOnboarding} - onOpenTeamOnboarding={this.openTeamOnboarding} /> )} - {modal === ModalKey.teamOnboarding && ( - <TeamOnboardingModal onFinish={this.closeOnboarding} /> - )} </OnboardingContext.Provider> ); } |