From 1e2373090cd0d826c082c0b11d91da8de5c892cc Mon Sep 17 00:00:00 2001 From: GotPPay Date: Wed, 15 Aug 2018 22:19:24 +0200 Subject: [PATCH] change comments handling --- frontend/src/containers/orders/components/OrderComments.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/containers/orders/components/OrderComments.jsx b/frontend/src/containers/orders/components/OrderComments.jsx index 51a7588..7c781c4 100644 --- a/frontend/src/containers/orders/components/OrderComments.jsx +++ b/frontend/src/containers/orders/components/OrderComments.jsx @@ -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){