{#each $nav.children as child, index (child.path)} dispatch("file", {index: index, action: FileAction.Click, original: e})} oncontextmenu={e => dispatch("file", {index: index, action: FileAction.Context, original: e})} class="node" class:node_selected={child.fm_selected} class:hidden={child.name.startsWith(".") && !show_hidden} > {/each}
Name Size
icon {child.name} {#if child.type === "file"} {formatDataVolume(child.file_size, 3)} {/if}
{#if child.abuse_type !== undefined} block {:else if node_is_shared(child)} dispatch("file", {index: index, action: FileAction.Share, original: e})} class="button action_button" > share {/if} {#if child.properties !== undefined && child.properties.branding_enabled === "true" && !hide_branding} {/if} {#if !hide_edit} {/if}