diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-02-03 11:04:14 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-02-03 11:04:20 +0100 |
commit | f0979eba6b50db708d54ab331a741980dd27a373 (patch) | |
tree | 80ea230a76299d7e5d958ab590f0f79a752910ca /server/sonar-web/src/main/js/apps/projects | |
parent | 2b269ac04e0ef0ce34fc1292aafdd9a4ce5f6ee6 (diff) | |
download | sonarqube-f0979eba6b50db708d54ab331a741980dd27a373.tar.gz sonarqube-f0979eba6b50db708d54ab331a741980dd27a373.zip |
fix projects management page
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projects')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projects/app.js | 2 |
1 files changed, 1 insertions, 1 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 d6e54842414..8ac06e62dd0 100644 --- a/server/sonar-web/src/main/js/apps/projects/app.js +++ b/server/sonar-web/src/main/js/apps/projects/app.js @@ -23,7 +23,7 @@ import Main from './main'; import { getCurrentUser } from '../../api/users'; window.sonarqube.appStarted.then(options => { - getCurrentUser().done(user => { + getCurrentUser().then(user => { let el = document.querySelector(options.el); let hasProvisionPermission = user.permissions.global.indexOf('provisioning') !== -1; let topLevelQualifiers = options.rootQualifiers; |