aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/settings
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-10-25 16:53:22 +0200
committerStas Vilchik <stas.vilchik@sonarsource.com>2017-10-30 09:20:37 +0100
commite4ef72e885308b113d89a7826d1b300c093134cf (patch)
treed747d066447c0924cf2cfb108bf107a8effd0144 /server/sonar-web/src/main/js/apps/settings
parenteea79d51b8894ef98f1cd02388d06062df343e4d (diff)
downloadsonarqube-e4ef72e885308b113d89a7826d1b300c093134cf.tar.gz
sonarqube-e4ef72e885308b113d89a7826d1b300c093134cf.zip
update web dependencies (#2752)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/settings')
-rw-r--r--server/sonar-web/src/main/js/apps/settings/components/Definition.js32
-rw-r--r--server/sonar-web/src/main/js/apps/settings/encryption/EncryptionApp.js12
2 files changed, 22 insertions, 22 deletions
diff --git a/server/sonar-web/src/main/js/apps/settings/components/Definition.js b/server/sonar-web/src/main/js/apps/settings/components/Definition.js
index 5c1f7f0b45f..29250dd1a4f 100644
--- a/server/sonar-web/src/main/js/apps/settings/components/Definition.js
+++ b/server/sonar-web/src/main/js/apps/settings/components/Definition.js
@@ -164,25 +164,25 @@ class Definition extends React.PureComponent {
)}
{!loading &&
- this.props.validationMessage != null && (
- <span className="text-danger">
- <i className="icon-alert-error spacer-right" />
- <span>
- {translateWithParameters(
- 'settings.state.validation_failed',
- this.props.validationMessage
- )}
+ this.props.validationMessage != null && (
+ <span className="text-danger">
+ <i className="icon-alert-error spacer-right" />
+ <span>
+ {translateWithParameters(
+ 'settings.state.validation_failed',
+ this.props.validationMessage
+ )}
+ </span>
</span>
- </span>
- )}
+ )}
{!loading &&
- this.state.success && (
- <span className="text-success">
- <i className="icon-check spacer-right" />
- {translate('settings.state.saved')}
- </span>
- )}
+ this.state.success && (
+ <span className="text-success">
+ <i className="icon-check spacer-right" />
+ {translate('settings.state.saved')}
+ </span>
+ )}
</div>
<Input
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 7c9727e99f4..73557269222 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
@@ -51,12 +51,12 @@ export default class EncryptionApp extends React.PureComponent {
</header>
{!this.props.loading &&
- !this.props.secretKeyAvailable && (
- <GenerateSecretKeyForm
- secretKey={this.props.secretKey}
- generateSecretKey={this.props.generateSecretKey}
- />
- )}
+ !this.props.secretKeyAvailable && (
+ <GenerateSecretKeyForm
+ secretKey={this.props.secretKey}
+ generateSecretKey={this.props.generateSecretKey}
+ />
+ )}
{this.props.secretKeyAvailable && (
<EncryptionForm