biomepass

This commit is contained in:
Untone 2024-07-23 17:00:33 +03:00
parent 0de087d999
commit 87dd66ad4b

View File

@ -142,7 +142,11 @@ export const CommentsTree = (props: Props) => {
<LoadMoreWrapper <LoadMoreWrapper
loadFunction={loadMoreComments} loadFunction={loadMoreComments}
pageSize={COMMENTS_PER_PAGE} pageSize={COMMENTS_PER_PAGE}
hidden={props.shout?.stat?.commented === 0 || 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)}>