diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-12-01 14:55:47 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-12-01 14:55:47 +0100 |
commit | 7a5770ca5de434a1ab75a22fc4ad3e3943f83808 (patch) | |
tree | c362dfd1b6bda1857ac82cbc763a560caa867dd9 /server | |
parent | 5155080a530ca18fa0813824ad2eeed89d1ab388 (diff) | |
download | sonarqube-7a5770ca5de434a1ab75a22fc4ad3e3943f83808.tar.gz sonarqube-7a5770ca5de434a1ab75a22fc4ad3e3943f83808.zip |
SONAR-7099 Drop the "Compare" link at project level
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/js/main/nav/component/component-nav-menu.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/main/nav/component/component-nav-menu.js b/server/sonar-web/src/main/js/main/nav/component/component-nav-menu.js index a73e466e35a..2293fa124d3 100644 --- a/server/sonar-web/src/main/js/main/nav/component/component-nav-menu.js +++ b/server/sonar-web/src/main/js/main/nav/component/component-nav-menu.js @@ -185,10 +185,6 @@ export default React.createClass({ (component.extensions || []).forEach(e => { tools.push(this.renderLink(e.url, e.name)); }); - if (component.isComparable) { - let compareUrl = `/comparison/index?resource=${component.key}`; - tools.push(this.renderLink(compareUrl, window.t('comparison.page'))); - } return tools; }, |