diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-08-29 11:38:53 +0200 |
---|---|---|
committer | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-09-13 13:53:58 +0200 |
commit | 793e86fce66f356099792b7231c9a1d949ff875e (patch) | |
tree | 8bd08099539c3cb1ff159823ee1d1f74a5f2c979 /server/sonar-web/src/main/js/apps/settings/encryption/EncryptionApp.js | |
parent | 736e89cc1629e1e52db00f67e4650f1b88695de9 (diff) | |
download | sonarqube-793e86fce66f356099792b7231c9a1d949ff875e.tar.gz sonarqube-793e86fce66f356099792b7231c9a1d949ff875e.zip |
update prettier
Diffstat (limited to 'server/sonar-web/src/main/js/apps/settings/encryption/EncryptionApp.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/settings/encryption/EncryptionApp.js | 14 |
1 files changed, 7 insertions, 7 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 e9f59b8c2df..7c9727e99f4 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 @@ -46,25 +46,25 @@ export default class EncryptionApp extends React.PureComponent { <div id="encryption-page" className="page page-limited"> <Helmet title={translate('property.category.security.encryption')} /> <header className="page-header"> - <h1 className="page-title"> - {translate('property.category.security.encryption')} - </h1> + <h1 className="page-title">{translate('property.category.security.encryption')}</h1> {this.props.loading && <i className="spinner" />} </header> {!this.props.loading && - !this.props.secretKeyAvailable && + !this.props.secretKeyAvailable && ( <GenerateSecretKeyForm secretKey={this.props.secretKey} generateSecretKey={this.props.generateSecretKey} - />} + /> + )} - {this.props.secretKeyAvailable && + {this.props.secretKeyAvailable && ( <EncryptionForm encryptedValue={this.props.encryptedValue} encryptValue={this.props.encryptValue} generateSecretKey={this.props.startGeneration} - />} + /> + )} </div> ); } |