comments-tree-fix
This commit is contained in:
parent
42d8e7598c
commit
0de087d999
|
@ -142,7 +142,7 @@ export const CommentsTree = (props: Props) => {
|
||||||
<LoadMoreWrapper
|
<LoadMoreWrapper
|
||||||
loadFunction={loadMoreComments}
|
loadFunction={loadMoreComments}
|
||||||
pageSize={COMMENTS_PER_PAGE}
|
pageSize={COMMENTS_PER_PAGE}
|
||||||
hidden={commentsLoading() || comments().length >= (props.shout?.stat?.commented || 0)}
|
hidden={props.shout?.stat?.commented === 0 || commentsLoading() || comments().length >= (props.shout?.stat?.commented || 0)}
|
||||||
>
|
>
|
||||||
<ul class={styles.comments}>
|
<ul class={styles.comments}>
|
||||||
<For each={sortedComments().filter((r) => !r.reply_to)}>
|
<For each={sortedComments().filter((r) => !r.reply_to)}>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user