Fix #58 - disable compose form while image is uploading

This commit is contained in:
Eugen Rochko
2016-09-27 17:02:30 +02:00
parent 4f9b7432dd
commit 45a96e899e
2 changed files with 6 additions and 3 deletions

View File

@ -7,6 +7,7 @@ const mapStateToProps = function (state, props) {
return {
text: state.getIn(['compose', 'text']),
is_submitting: state.getIn(['compose', 'is_submitting']),
is_uploading: state.getIn(['compose', 'is_uploading']),
in_reply_to: selectStatus(state, state.getIn(['compose', 'in_reply_to']))
};
};