{#if node.kind === 'folder'}
{#if open}
{#each node.children ?? [] as child (child.path)} {/each}
{/if}
{:else}
{/if}