fix m.federate always being false because value is a string. Y HTML...

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2017-08-02 14:00:24 +01:00
parent e9afcec5b2
commit 6e39e72849
No known key found for this signature in database
GPG key ID: 0435A1D4BBD34D64
2 changed files with 3 additions and 6 deletions

View file

@ -56,7 +56,7 @@ export default React.createClass({
},
onOk: function() {
this.props.onFinished(true, this.refs.textinput.value, this.refs.checkbox.value);
this.props.onFinished(true, this.refs.textinput.value, this.refs.checkbox.checked);
},
onCancel: function() {