aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/permissions/global
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-11-30 11:25:53 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2017-12-14 17:03:35 +0100
commit42b5ea685c8ee46cf05625879300aa3eb3529897 (patch)
tree80a8d137148baf376888fe2092875ea6682a0516 /server/sonar-web/src/main/js/apps/permissions/global
parentc4b2c3d7050c3639ec7672e1ba8b6dd266bd59dc (diff)
downloadsonarqube-42b5ea685c8ee46cf05625879300aa3eb3529897.tar.gz
sonarqube-42b5ea685c8ee46cf05625879300aa3eb3529897.zip
Rewrite usage of Organization containers
Diffstat (limited to 'server/sonar-web/src/main/js/apps/permissions/global')
-rw-r--r--server/sonar-web/src/main/js/apps/permissions/global/components/AllHoldersList.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/permissions/global/components/AllHoldersList.tsx b/server/sonar-web/src/main/js/apps/permissions/global/components/AllHoldersList.tsx
index 913058f2e88..05730e8252e 100644
--- a/server/sonar-web/src/main/js/apps/permissions/global/components/AllHoldersList.tsx
+++ b/server/sonar-web/src/main/js/apps/permissions/global/components/AllHoldersList.tsx
@@ -69,9 +69,8 @@ export default class AllHoldersList extends React.PureComponent<Props> {
};
render() {
- const order = PERMISSIONS_ORDER;
const l10nPrefix = this.props.organization ? 'organizations_permissions' : 'global_permissions';
- const permissions = order.map(p => ({
+ const permissions = PERMISSIONS_ORDER.map(p => ({
key: p,
name: translate(l10nPrefix, p),
description: translate(l10nPrefix, p, 'desc')