aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-09-10 16:52:12 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-09-10 16:52:12 +0200
commit324ffaabb8a630b62ba37f23978d19f1d8182382 (patch)
tree02431618350912ba9c71e6371160c8298468d2d6 /server/sonar-web
parent66f00c2cfb074a72cbbd2c0c266437c43b6488e5 (diff)
downloadsonarqube-324ffaabb8a630b62ba37f23978d19f1d8182382.tar.gz
sonarqube-324ffaabb8a630b62ba37f23978d19f1d8182382.zip
fix for SONAR-6766
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/components/issue/models/issue.js6
1 files changed, 2 insertions, 4 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 62f74ceb507..3187af2f864 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
@@ -5,8 +5,7 @@ define(function () {
defaults: function () {
return {
- secondaryLocations: [],
- executionFlows: []
+ flows: []
};
},
@@ -68,8 +67,7 @@ define(function () {
_prepareClosed: function (issue) {
if (issue.status === 'CLOSED') {
- issue.secondaryLocations = [];
- issue.executionFlows = [];
+ issue.flows = [];
delete issue.textRange;
}
return issue;