diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-08-10 16:02:22 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-08-10 20:21:32 +0200 |
commit | d3530ff0004d44a2c4e9140ff9cc7774b8bc38a4 (patch) | |
tree | 03ad7aa9ab7d9bcfb0f5b354149da9c014052010 /server/sonar-web/src/main/js/apps/settings/encryption | |
parent | 29b5f4a0ebf686f9dee7f1d6c6eab65fe381654d (diff) | |
download | sonarqube-d3530ff0004d44a2c4e9140ff9cc7774b8bc38a4.tar.gz sonarqube-d3530ff0004d44a2c4e9140ff9cc7774b8bc38a4.zip |
update main dependencies & fix autofixable eslint warnings (#601)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/settings/encryption')
-rw-r--r-- | server/sonar-web/src/main/js/apps/settings/encryption/EncryptionApp.js | 4 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/settings/encryption/EncryptionAppContainer.js | 15 |
2 files changed, 11 insertions, 8 deletions
diff --git a/server/sonar-web/src/main/js/apps/settings/encryption/EncryptionApp.js b/server/sonar-web/src/main/js/apps/settings/encryption/EncryptionApp.js index 5885ca220b0..89f918dd457 100644 --- a/server/sonar-web/src/main/js/apps/settings/encryption/EncryptionApp.js +++ b/server/sonar-web/src/main/js/apps/settings/encryption/EncryptionApp.js @@ -43,7 +43,7 @@ export default class EncryptionApp extends React.PureComponent { render() { return ( - <div id="encryption-page" className="page page-limited"> + <div className="page page-limited" id="encryption-page"> <Helmet title={translate('property.category.security.encryption')} /> <header className="page-header"> <h1 className="page-title">{translate('property.category.security.encryption')}</h1> @@ -53,8 +53,8 @@ export default class EncryptionApp extends React.PureComponent { {!this.props.loading && !this.props.secretKeyAvailable && ( <GenerateSecretKeyForm - secretKey={this.props.secretKey} generateSecretKey={this.props.generateSecretKey} + secretKey={this.props.secretKey} /> )} diff --git a/server/sonar-web/src/main/js/apps/settings/encryption/EncryptionAppContainer.js b/server/sonar-web/src/main/js/apps/settings/encryption/EncryptionAppContainer.js index 95c90a3f2f2..80c24b3527f 100644 --- a/server/sonar-web/src/main/js/apps/settings/encryption/EncryptionAppContainer.js +++ b/server/sonar-web/src/main/js/apps/settings/encryption/EncryptionAppContainer.js @@ -27,9 +27,12 @@ import { } from '../store/encryptionPage/actions'; import { getSettingsAppEncryptionState } from '../../../store/rootReducer'; -export default connect(state => getSettingsAppEncryptionState(state), { - checkSecretKey, - generateSecretKey, - encryptValue, - startGeneration -})(EncryptionApp); +export default connect( + state => getSettingsAppEncryptionState(state), + { + checkSecretKey, + generateSecretKey, + encryptValue, + startGeneration + } +)(EncryptionApp); |