{#if state.base.type === "file"} {#if error_msg !== ""} {error_msg} {:else}
Downloads
{formatThousands(downloads)}
Transfer used
{formatDataVolume(transfer_used, 3)}
{/if}
Size
{formatDataVolume(state.base.file_size, 3)}
{:else if state.base.type === "dir" || state.base.type === "bucket"}
Directories
{formatThousands(total_directories, 3)}
Files
{formatThousands(total_files, 3)}
Total size
{formatDataVolume(total_file_size, 3)}
{/if}