From f0979eba6b50db708d54ab331a741980dd27a373 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Wed, 3 Feb 2016 11:04:14 +0100 Subject: [PATCH] fix projects management page --- server/sonar-web/src/main/js/apps/projects/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5