1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

adding comments

This commit is contained in:
muerwre 2019-08-26 15:37:11 +07:00
parent c541278686
commit 76a3331719
14 changed files with 148 additions and 26 deletions

View file

@ -55,10 +55,10 @@ const NodeLayoutUnconnected: FC<IProps> = ({
<Group className={styles.comments}>
<CommentForm id={node.id || null} />
{is_loading_comments || !comments.length || true ? (
{is_loading_comments || !comments.length ? (
<NodeNoComments is_loading={is_loading_comments} />
) : (
<NodeComments />
<NodeComments comments={comments} />
)}
</Group>