Fix ES6 dot-notation eslint rule [MAILPOET-1137]

This commit is contained in:
stoletniy
2017-10-26 14:09:58 +03:00
committed by Vlad
parent bf15bda84f
commit e4f16eda49
14 changed files with 24 additions and 25 deletions

View File

@@ -11,7 +11,7 @@ const FormFieldText = React.createClass({
<input
type="text"
disabled={
(this.props.field['disabled'] !== undefined)
(this.props.field.disabled !== undefined)
? this.props.field.disabled(this.props.item)
: false
}