|
|
@@ -62,6 +62,10 @@ class PageComments extends React.Component {
|
|
|
this.props.commentContainer.retrieveComments();
|
|
|
}
|
|
|
|
|
|
+ confirmToEditComment(comment) {
|
|
|
+ console.log("Pushed Edit button");
|
|
|
+ }
|
|
|
+
|
|
|
confirmToDeleteComment(comment) {
|
|
|
this.setState({ commentToDelete: comment });
|
|
|
this.showDeleteConfirmModal();
|
|
|
@@ -138,6 +142,7 @@ class PageComments extends React.Component {
|
|
|
<div key={commentId} className={`mb-5 ${rootClassNames}`}>
|
|
|
<Comment
|
|
|
comment={comment}
|
|
|
+ editBtnClicked={this.confirmToEditComment}
|
|
|
deleteBtnClicked={this.confirmToDeleteComment}
|
|
|
growiRenderer={this.growiRenderer}
|
|
|
replyList={replies}
|