{#if toCreateLibrary} (toCreateLibrary = false)} /> {/if}
{#if libraries.length > 0} handleScanAll()}>
{$t('scan_all_libraries')}
{/if} (toCreateLibrary = true)}>
{$t('create_library')}
{#if libraries.length > 0} {#each libraries as library, index (library.id)} {#if renameLibrary === index}
(renameLibrary = null)} />
{/if} {#if editImportPaths === index}
(editImportPaths = null)} />
{/if} {#if editScanSettings === index}
(editScanSettings = null)} />
{/if} {/each}
{$t('type')} {$t('name')} {$t('owner')} {$t('assets')} {$t('size')}
{library.name} {#if owner[index] == undefined} {:else}{owner[index].name}{/if} {#if totalCount[index] == undefined} {:else} {totalCount[index].toLocaleString($locale)} {/if} {#if diskUsage[index] == undefined} {:else} {diskUsage[index]} {diskUsageUnit[index]} {/if} onRenameClicked(index)} text={$t('rename')} /> onEditImportPathClicked(index)} text={$t('edit_import_paths')} /> onScanSettingClicked(index)} text={$t('scan_settings')} />
onScanNewLibraryClicked(library)} text={$t('scan_new_library_files')} /> onScanAllLibraryFilesClicked(library)} text={$t('scan_all_library_files')} subtitle={$t('only_refreshes_modified_files')} /> onForceScanAllLibraryFilesClicked(library)} text={$t('force_re-scan_library_files')} subtitle={$t('refreshes_every_file')} />
onRemoveOfflineFilesClicked(library)} text={$t('remove_offline_files')} /> handleDelete(library, index)} />
{:else} (toCreateLibrary = true)} /> {/if}