{#each nodes as node, index (node.comment_view.comment.id)} 0 || node.comment_view.counts.child_count > 0) && 'border-l', 'ml-2.5 border-slate-200 dark:border-zinc-800 pl-3 sm:pl-4 lg:pl-5', ]} bind:open={nodes[index].expanded} > {#if node.children?.length > 0} {/if} {#if node.comment_view.counts.child_count > 0 && node.children.length == 0} {/if} {/each}