diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projects/app.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projects/app.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/projects/app.js b/server/sonar-web/src/main/js/apps/projects/app.js index 627a8a9b9cd..aba9a066b50 100644 --- a/server/sonar-web/src/main/js/apps/projects/app.js +++ b/server/sonar-web/src/main/js/apps/projects/app.js @@ -1,14 +1,14 @@ import React from 'react'; import ReactDOM from 'react-dom'; import Main from './main'; -import {getCurrentUser} from '../../api/users'; +import { getCurrentUser } from '../../api/users'; import '../../helpers/handlebars-helpers'; window.sonarqube.appStarted.then(options => { getCurrentUser().done(user => { - let el = document.querySelector(options.el), - hasProvisionPermission = user.permissions.global.indexOf('provisioning') !== -1, - topLevelQualifiers = options.rootQualifiers; + let el = document.querySelector(options.el); + let hasProvisionPermission = user.permissions.global.indexOf('provisioning') !== -1; + let topLevelQualifiers = options.rootQualifiers; ReactDOM.render(<Main hasProvisionPermission={hasProvisionPermission} topLevelQualifiers={topLevelQualifiers}/>, el); }); |