diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-11-02 16:00:33 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-11-02 16:00:33 +0100 |
commit | 251f55f9e4a80ffbb3c68a0407baf7c211250083 (patch) | |
tree | 3fbae8e8ba5385735dd0f7eb188447dbacae8fa9 /server/sonar-web/src/main/js/apps/background-tasks | |
parent | bb1b2431486ad60c2a976b0d88bc3718fc1c5596 (diff) | |
download | sonarqube-251f55f9e4a80ffbb3c68a0407baf7c211250083.tar.gz sonarqube-251f55f9e4a80ffbb3c68a0407baf7c211250083.zip |
refactor urls helper
Diffstat (limited to 'server/sonar-web/src/main/js/apps/background-tasks')
-rw-r--r-- | server/sonar-web/src/main/js/apps/background-tasks/tasks.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/background-tasks/tasks.js b/server/sonar-web/src/main/js/apps/background-tasks/tasks.js index c469637204d..2d1b6352768 100644 --- a/server/sonar-web/src/main/js/apps/background-tasks/tasks.js +++ b/server/sonar-web/src/main/js/apps/background-tasks/tasks.js @@ -1,6 +1,6 @@ import moment from 'moment'; import React from 'react'; -import {getProjectUrl} from '../../helpers/Url'; +import { getComponentUrl } from '../../helpers/urls'; import QualifierIcon from '../../components/shared/qualifier-icon'; import PendingIcon from '../../components/shared/pending-icon'; import {STATUSES} from './constants'; @@ -51,7 +51,7 @@ export default React.createClass({ <span className="little-spacer-right"> <QualifierIcon qualifier={task.componentQualifier}/> </span> - <a href={getProjectUrl(task.componentKey)}>{task.componentName}</a> + <a href={getComponentUrl(task.componentKey)}>{task.componentName}</a> </td> ); }, |