{tr('workspaceTree.title')}
{#if loading}
{tr('common.loading')}
{:else if localError}
{localError}
{/if}
{#each getChildren(null) as node (node.id)} {#if node.type === 'folder'} {@const expanded = isExpanded(node)}
toggleFolder(node)}> {expanded ? '▾' : '▸'} {node.title}
{#if expanded} {#each getChildren(node.id) as child (child.id)}
{/each} {/if}
{:else}
{/if} {/each}
{#if templateWarning} {/if} {#if showCreate} {/if}