change comments handling

This commit is contained in:
GotPPay
2018-08-15 22:19:24 +02:00
parent 906725f5c5
commit 1e2373090c

View File

@@ -18,7 +18,7 @@ class OrderComments extends Component {
}
addNewComment(){
this.props.dispatch(addComment(this.props.orderInfo.id, this.state.newComment));
this.props.dispatch(addComment(this.props.orderInfo.id, this.state.newComment, this.props.orderComments));
}
onEditorChange(newComment){