diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-11-10 09:39:43 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-11-10 09:39:43 +0100 |
commit | 36127595a7f3247ac92677da77c5d0383a539f54 (patch) | |
tree | c37f1f47571f4e87e285301ddf6056a85f28eabc /server/sonar-web/src/main | |
parent | 7231cb649072d9396e2f89207503c265f15e06ab (diff) | |
download | sonarqube-36127595a7f3247ac92677da77c5d0383a539f54.tar.gz sonarqube-36127595a7f3247ac92677da77c5d0383a539f54.zip |
fix issues bulk change
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r-- | server/sonar-web/src/main/js/apps/component-issues/app.js | 1 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/issues/app.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/component-issues/app.js b/server/sonar-web/src/main/js/apps/component-issues/app.js index a2f24c52aaf..7768330dd43 100644 --- a/server/sonar-web/src/main/js/apps/component-issues/app.js +++ b/server/sonar-web/src/main/js/apps/component-issues/app.js @@ -37,6 +37,7 @@ const init = function () { this.config = options.config; this.state = new State({ + canBulkChange: !!window.SS.user, isContext: true, contextQuery: { componentUuids: options.config.resource }, contextComponentUuid: options.config.resource, diff --git a/server/sonar-web/src/main/js/apps/issues/app.js b/server/sonar-web/src/main/js/apps/issues/app.js index 4c15e33a8c2..bc083906618 100644 --- a/server/sonar-web/src/main/js/apps/issues/app.js +++ b/server/sonar-web/src/main/js/apps/issues/app.js @@ -34,7 +34,7 @@ const App = new Marionette.Application(); const init = function () { const options = window.sonarqube; - this.state = new State(); + this.state = new State({ canBulkChange: !!window.SS.user }); this.list = new Issues(); this.facets = new Facets(); |