aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-06-30 10:13:47 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-06-30 10:13:55 +0200
commit6c6dbc10e0e8f7685c3b509acd1c93b8fe84e92b (patch)
tree8138b559c15ba4c6f7c2611215219f67fd958643 /server
parentc5bd5ad0ae4124f42818dfaf4eca2adc8c34423e (diff)
downloadsonarqube-6c6dbc10e0e8f7685c3b509acd1c93b8fe84e92b.tar.gz
sonarqube-6c6dbc10e0e8f7685c3b509acd1c93b8fe84e92b.zip
fix issue reloading
Diffstat (limited to 'server')
-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;