]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7099 Drop the "Compare" link at project level
authorStas Vilchik <vilchiks@gmail.com>
Tue, 1 Dec 2015 13:55:47 +0000 (14:55 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 1 Dec 2015 13:55:47 +0000 (14:55 +0100)
server/sonar-web/src/main/js/main/nav/component/component-nav-menu.js

index a73e466e35ace3fd0535f1adfd478368927e2ab3..2293fa124d3dbcbdbaf9d7fc5ab3a941b5e5cefa 100644 (file)
@@ -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;
   },