diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-12-08 16:48:52 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-12-08 16:48:52 +0100 |
commit | 201847de4d282acafd5fb8c969f077d713d1bdf1 (patch) | |
tree | 2ee51f526ed63d2620a7b8faef8fac69b74da0fc /server/sonar-web/src/main/js/apps/global-permissions | |
parent | 34b14e12bebafed93d21ac620e7b2b5dc3ef7d55 (diff) | |
download | sonarqube-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.js | 3 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/global-permissions/permissions-list.js | 2 |
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 }, |