aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/settings/components/inputs/MultiValueInput.js
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2018-08-10 16:02:22 +0200
committerSonarTech <sonartech@sonarsource.com>2018-08-10 20:21:32 +0200
commitd3530ff0004d44a2c4e9140ff9cc7774b8bc38a4 (patch)
tree03ad7aa9ab7d9bcfb0f5b354149da9c014052010 /server/sonar-web/src/main/js/apps/settings/components/inputs/MultiValueInput.js
parent29b5f4a0ebf686f9dee7f1d6c6eab65fe381654d (diff)
downloadsonarqube-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/components/inputs/MultiValueInput.js')
-rw-r--r--server/sonar-web/src/main/js/apps/settings/components/inputs/MultiValueInput.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/settings/components/inputs/MultiValueInput.js b/server/sonar-web/src/main/js/apps/settings/components/inputs/MultiValueInput.js
index dae49df28e0..47ddb1945e7 100644
--- a/server/sonar-web/src/main/js/apps/settings/components/inputs/MultiValueInput.js
+++ b/server/sonar-web/src/main/js/apps/settings/components/inputs/MultiValueInput.js
@@ -58,11 +58,11 @@ export default class MultiValueInput extends React.PureComponent {
renderInput(value, index, isLast) {
return (
- <li key={index} className="spacer-bottom">
+ <li className="spacer-bottom" key={index}>
<PrimitiveInput
+ onChange={this.handleSingleInputChange.bind(this, index)}
setting={this.prepareSetting()}
value={value}
- onChange={this.handleSingleInputChange.bind(this, index)}
/>
{!isLast && (