summaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/global-permissions
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-12-08 16:48:52 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-12-08 16:48:52 +0100
commit201847de4d282acafd5fb8c969f077d713d1bdf1 (patch)
tree2ee51f526ed63d2620a7b8faef8fac69b74da0fc /server/sonar-web/src/main/js/apps/global-permissions
parent34b14e12bebafed93d21ac620e7b2b5dc3ef7d55 (diff)
downloadsonarqube-201847de4d282acafd5fb8c969f077d713d1bdf1.tar.gz
sonarqube-201847de4d282acafd5fb8c969f077d713d1bdf1.zip
improve code quality
Diffstat (limited to 'server/sonar-web/src/main/js/apps/global-permissions')
-rw-r--r--server/sonar-web/src/main/js/apps/global-permissions/permission-users-groups-mixin.js3
-rw-r--r--server/sonar-web/src/main/js/apps/global-permissions/permissions-list.js2
2 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/global-permissions/permission-users-groups-mixin.js b/server/sonar-web/src/main/js/apps/global-permissions/permission-users-groups-mixin.js
index 91da5b747bb..70c729ec7a1 100644
--- a/server/sonar-web/src/main/js/apps/global-permissions/permission-users-groups-mixin.js
+++ b/server/sonar-web/src/main/js/apps/global-permissions/permission-users-groups-mixin.js
@@ -11,7 +11,8 @@ export default {
renderNotDisplayed() {
const notDisplayedCount = this.props.total - this.props.max;
- return notDisplayedCount > 0 ? <span className="note spacer-right" href="#">and {notDisplayedCount} more</span> : null;
+ return notDisplayedCount > 0 ?
+ <span className="note spacer-right" href="#">and {notDisplayedCount} more</span> : null;
},
renderItems() {
diff --git a/server/sonar-web/src/main/js/apps/global-permissions/permissions-list.js b/server/sonar-web/src/main/js/apps/global-permissions/permissions-list.js
index c48769daab6..aa5e125da43 100644
--- a/server/sonar-web/src/main/js/apps/global-permissions/permissions-list.js
+++ b/server/sonar-web/src/main/js/apps/global-permissions/permissions-list.js
@@ -5,7 +5,7 @@ import Permission from './permission';
export default React.createClass({
- propTypes:{
+ propTypes: {
permissions: React.PropTypes.arrayOf(React.PropTypes.object).isRequired
},