|
Name |
Size |
|
{#each $nav.children as child, index (child.path)}
dispatch("file", {index: index, action: FileAction.Click, original: e})}
on:contextmenu={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}
>
|
{child.name}
|
{#if child.type === "file"}
{formatDataVolume(child.file_size, 3)}
{/if}
|
{#if child.abuse_type !== undefined}
block
{:else if child.id}
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 $nav.permissions.write && !hide_edit}
{/if}
|
{/each}