{#if entry.isDirectory && isExpanded && children.length > 0}
{#each children as child (child.path)} {/each}
{/if}