aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/projects
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-11-02 16:00:33 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-11-02 16:00:33 +0100
commit251f55f9e4a80ffbb3c68a0407baf7c211250083 (patch)
tree3fbae8e8ba5385735dd0f7eb188447dbacae8fa9 /server/sonar-web/src/main/js/apps/projects
parentbb1b2431486ad60c2a976b0d88bc3718fc1c5596 (diff)
downloadsonarqube-251f55f9e4a80ffbb3c68a0407baf7c211250083.tar.gz
sonarqube-251f55f9e4a80ffbb3c68a0407baf7c211250083.zip
refactor urls helper
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projects')
-rw-r--r--server/sonar-web/src/main/js/apps/projects/projects.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/projects/projects.js b/server/sonar-web/src/main/js/apps/projects/projects.js
index 6aa42f53c0b..1f3babcd067 100644
--- a/server/sonar-web/src/main/js/apps/projects/projects.js
+++ b/server/sonar-web/src/main/js/apps/projects/projects.js
@@ -1,5 +1,5 @@
import React from 'react';
-import {getProjectUrl} from '../../helpers/Url';
+import { getComponentUrl } from '../../helpers/urls';
import Checkbox from '../../components/shared/checkbox';
import QualifierIcon from '../../components/shared/qualifier-icon';
@@ -33,7 +33,7 @@ export default React.createClass({
<QualifierIcon qualifier={project.qualifier}/>
</td>
<td className="nowrap">
- <a href={getProjectUrl(project.key)}>{project.name}</a>
+ <a href={getComponentUrl(project.key)}>{project.name}</a>
</td>
<td className="nowrap">
<span className="note">{project.key}</span>