mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
showing comments left count
This commit is contained in:
parent
911beea4ad
commit
319e66616c
9 changed files with 101 additions and 115 deletions
|
@ -31,7 +31,7 @@ type IProps = ReturnType<typeof mapStateToProps> &
|
|||
const id = 696;
|
||||
|
||||
const BorisLayoutUnconnected: FC<IProps> = ({
|
||||
node: { is_loading, is_loading_comments, comments = [], comment_data },
|
||||
node: { is_loading, is_loading_comments, comments = [], comment_data, comment_count },
|
||||
user,
|
||||
user: { is_user },
|
||||
nodeLoadNode,
|
||||
|
@ -88,6 +88,7 @@ const BorisLayoutUnconnected: FC<IProps> = ({
|
|||
<NodeComments
|
||||
comments={comments}
|
||||
comment_data={comment_data}
|
||||
comment_count={comment_count}
|
||||
user={user}
|
||||
onDelete={nodeLockComment}
|
||||
onEdit={nodeEditComment}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue