Update otherDisabled check

Fall out from . We should likely change the way this is set up, it seems not ideal. But not sure the best way atm.
This commit is contained in:
Matthew Taylor 2017-02-23 10:57:27 -05:00
parent abcb92243b
commit eb56b27a88

View file

@ -535,7 +535,7 @@ module.exports = {
return options;
},
onChooseOrganization: function (name, values) {
this.setState({otherDisabled: values.indexOf(this.organizationL10nStems.indexOf('orgChoiceOther')) === -1});
this.setState({otherDisabled: values.indexOf(this.organizationL10nStems.length) === -1});
},
render: function () {
var formatMessage = this.props.intl.formatMessage;