aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-web/src/main/js/components/issue/models/issue.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/components/issue/models/issue.js b/server/sonar-web/src/main/js/components/issue/models/issue.js
index 79ad16f7fde..31ad3f3e5bf 100644
--- a/server/sonar-web/src/main/js/components/issue/models/issue.js
+++ b/server/sonar-web/src/main/js/components/issue/models/issue.js
@@ -15,6 +15,8 @@ define(function () {
if (r.issue) {
var issue = this._injectRelational(r.issue, r.users, 'assignee', 'login');
issue = this._injectRelational(issue, r.users, 'reporter', 'login');
+ issue = this._injectRelational(issue, r.components, 'component', 'key');
+ issue = this._injectRelational(issue, r.components, 'project', 'key');
return issue;
} else {
return r;