change comments handling
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user