aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/background-tasks/tasks.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/background-tasks/tasks.js')
-rw-r--r--server/sonar-web/src/main/js/apps/background-tasks/tasks.js4
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>
);
},