]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7192 fix project links
authorStas Vilchik <vilchiks@gmail.com>
Wed, 13 Jan 2016 14:39:31 +0000 (15:39 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 13 Jan 2016 14:39:39 +0000 (15:39 +0100)
server/sonar-web/src/main/js/apps/code/components/ComponentDetach.js

index b686188538a098fcab695fc3f39a0b091ea4959f..172d1d474113618422cde7a6633c623bcba54784 100644 (file)
@@ -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)}/>
 );