diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/project-admin')
3 files changed, 28 insertions, 19 deletions
diff --git a/server/sonar-web/src/main/js/apps/project-admin/key/BulkUpdate.js b/server/sonar-web/src/main/js/apps/project-admin/key/BulkUpdate.js index cf6ffdb2d9a..9919f4b8604 100644 --- a/server/sonar-web/src/main/js/apps/project-admin/key/BulkUpdate.js +++ b/server/sonar-web/src/main/js/apps/project-admin/key/BulkUpdate.js @@ -127,10 +127,10 @@ class BulkUpdate extends React.PureComponent { {results != null && ( <BulkUpdateResults - results={results} - replace={replace} by={by} onConfirm={this.handleConfirm.bind(this)} + replace={replace} + results={results} /> )} </div> @@ -138,8 +138,11 @@ class BulkUpdate extends React.PureComponent { } } -export default connect(null, { - addGlobalErrorMessage, - addGlobalSuccessMessage, - closeAllGlobalMessages -})(BulkUpdate); +export default connect( + null, + { + addGlobalErrorMessage, + addGlobalSuccessMessage, + closeAllGlobalMessages + } +)(BulkUpdate); diff --git a/server/sonar-web/src/main/js/apps/project-admin/key/Key.js b/server/sonar-web/src/main/js/apps/project-admin/key/Key.js index d1688ed106e..2d272a903ad 100644 --- a/server/sonar-web/src/main/js/apps/project-admin/key/Key.js +++ b/server/sonar-web/src/main/js/apps/project-admin/key/Key.js @@ -144,10 +144,13 @@ const mapStateToProps = (state, ownProps) => ({ modules: getProjectAdminProjectModules(state, ownProps.location.query.id) }); -export default connect(mapStateToProps, { - fetchProjectModules, - changeKey, - addGlobalErrorMessage, - addGlobalSuccessMessage, - closeAllGlobalMessages -})(Key); +export default connect( + mapStateToProps, + { + fetchProjectModules, + changeKey, + addGlobalErrorMessage, + addGlobalSuccessMessage, + closeAllGlobalMessages + } +)(Key); diff --git a/server/sonar-web/src/main/js/apps/project-admin/links/Links.js b/server/sonar-web/src/main/js/apps/project-admin/links/Links.js index fa77e03c6b8..15227725c0d 100644 --- a/server/sonar-web/src/main/js/apps/project-admin/links/Links.js +++ b/server/sonar-web/src/main/js/apps/project-admin/links/Links.js @@ -60,8 +60,11 @@ const mapStateToProps = (state, ownProps) => ({ links: getProjectAdminProjectLinks(state, ownProps.location.query.id) }); -export default connect(mapStateToProps, { - fetchProjectLinks, - createProjectLink, - deleteProjectLink -})(Links); +export default connect( + mapStateToProps, + { + fetchProjectLinks, + createProjectLink, + deleteProjectLink + } +)(Links); |