diff options
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx b/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx index b1ac495c980..4130d4b855a 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx @@ -293,6 +293,7 @@ export class Menu extends React.PureComponent<Props> { this.renderConsoleAppLink(query, isApplication), this.renderReportSettingsLink(query, isApplication), ...this.renderAdminExtensions(query, isApplication), + this.renderImportExportLink(query), this.renderProfilesLink(query), this.renderQualityGateLink(query), this.renderLinksLink(query), @@ -403,6 +404,16 @@ export class Menu extends React.PureComponent<Props> { ); }; + renderImportExportLink = (query: Query) => { + return ( + <li key="import-export"> + <Link activeClassName="active" to={{ pathname: '/project/import_export', query }}> + {translate('project_dump.page')} + </Link> + </li> + ); + }; + renderProfilesLink = (query: Query) => { if (!this.getConfiguration().showQualityProfiles) { return null; |