aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-01-13 15:39:31 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-01-13 15:39:39 +0100
commit71ba2223ef4f377329d3e127656cc2e9f21a6bb9 (patch)
tree98eed971a2c4ba8f5326b02a25e35292e130708b /server
parent10306b2d4b659e1911483c98eedea4a0a71e049a (diff)
downloadsonarqube-71ba2223ef4f377329d3e127656cc2e9f21a6bb9.tar.gz
sonarqube-71ba2223ef4f377329d3e127656cc2e9f21a6bb9.zip
SONAR-7192 fix project links
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/apps/code/components/ComponentDetach.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/code/components/ComponentDetach.js b/server/sonar-web/src/main/js/apps/code/components/ComponentDetach.js
index b686188538a..172d1d47411 100644
--- a/server/sonar-web/src/main/js/apps/code/components/ComponentDetach.js
+++ b/server/sonar-web/src/main/js/apps/code/components/ComponentDetach.js
@@ -27,7 +27,7 @@ const ComponentDetach = ({ component }) => (
<a
className="icon-detach"
title={translate('code.open_component_page')}
- href={getComponentUrl(component.key)}/>
+ href={getComponentUrl(component.copy || component.key)}/>
);