diff --git a/public/react/src/modules/comment/CommentItemMDEditor.js b/public/react/src/modules/comment/CommentItemMDEditor.js index 3c89d0800..98afa4228 100644 --- a/public/react/src/modules/comment/CommentItemMDEditor.js +++ b/public/react/src/modules/comment/CommentItemMDEditor.js @@ -96,7 +96,7 @@ class CommentItemMDEditor extends Component { } render() { - const { match, history, item, user } = this.props + const { match, history, item, user, buttonText } = this.props if (!item) { return
} @@ -111,7 +111,7 @@ class CommentItemMDEditor extends Component { ); diff --git a/public/react/src/modules/comment/Comments.js b/public/react/src/modules/comment/Comments.js index 711ece6fa..ec7d6a5a8 100644 --- a/public/react/src/modules/comment/Comments.js +++ b/public/react/src/modules/comment/Comments.js @@ -408,6 +408,7 @@ class Comments extends Component { currentReplyComment={currentReplyComment} item={item} user={user} + buttonText={this.props.buttonText} > } diff --git a/public/react/src/modules/courses/common/comments/CCommentItem.js b/public/react/src/modules/courses/common/comments/CCommentItem.js index 183ef6ea5..d9b1b7927 100644 --- a/public/react/src/modules/courses/common/comments/CCommentItem.js +++ b/public/react/src/modules/courses/common/comments/CCommentItem.js @@ -175,7 +175,7 @@ class CCommentItem extends Component{ // src={getImageUrl(`images/${item.image_url}`)} return ( -