diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2017-02-09 17:02:20 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2017-02-09 17:02:20 +0100 |
commit | 1d235fc3ffc56983908426619b7c5c116f00c68e (patch) | |
tree | 05f25101f0c4a74623efa477a8ebee8441a465f8 /server/sonar-web/src/main/js/apps/permission-templates | |
parent | b669078025c656efbf68b88d2f9c095ebe462b01 (diff) | |
download | sonarqube-1d235fc3ffc56983908426619b7c5c116f00c68e.tar.gz sonarqube-1d235fc3ffc56983908426619b7c5c116f00c68e.zip |
SONAR-8658 apply feedback
Diffstat (limited to 'server/sonar-web/src/main/js/apps/permission-templates')
-rw-r--r-- | server/sonar-web/src/main/js/apps/permission-templates/components/Template.js | 1 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/permission-templates/components/TemplateDetails.js | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/permission-templates/components/Template.js b/server/sonar-web/src/main/js/apps/permission-templates/components/Template.js index 308af5bd70b..d2cada3b53f 100644 --- a/server/sonar-web/src/main/js/apps/permission-templates/components/Template.js +++ b/server/sonar-web/src/main/js/apps/permission-templates/components/Template.js @@ -209,6 +209,7 @@ class Template extends React.Component { topQualifiers={this.props.topQualifiers}/> <TemplateDetails + organization={this.props.organization} template={this.props.template}/> <HoldersList diff --git a/server/sonar-web/src/main/js/apps/permission-templates/components/TemplateDetails.js b/server/sonar-web/src/main/js/apps/permission-templates/components/TemplateDetails.js index 9a6d0a74410..6bf9f011511 100644 --- a/server/sonar-web/src/main/js/apps/permission-templates/components/TemplateDetails.js +++ b/server/sonar-web/src/main/js/apps/permission-templates/components/TemplateDetails.js @@ -22,6 +22,7 @@ import Defaults from './Defaults'; export default class TemplateDetails extends React.Component { static propTypes = { + organization: React.PropTypes.object, template: React.PropTypes.object.isRequired }; @@ -32,7 +33,9 @@ export default class TemplateDetails extends React.Component { <div className="big-spacer-bottom"> {template.defaultFor.length > 0 && ( <div className="spacer-top js-defaults"> - <Defaults permissionTemplate={template}/> + <Defaults + permissionTemplate={template} + organization={this.props.organization}/> </div> )} |