parent
33b2e0f189
commit
bc5678d015
6 changed files with 286 additions and 75 deletions
|
@ -56,6 +56,7 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
|
|||
onReply (status, router) {
|
||||
dispatch((_, getState) => {
|
||||
let state = getState();
|
||||
|
||||
if (state.getIn(['compose', 'text']).trim().length !== 0) {
|
||||
dispatch(openModal('CONFIRM', {
|
||||
message: intl.formatMessage(messages.replyMessage),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue