{#if confirmDeleteLibrary} (confirmDeleteLibrary = null)} /> {/if}
{#if libraries.length > 0} {#each libraries as library, index (library.id)} {#if totalCount[index] == undefined} {:else} {/if} {#if renameLibrary === index}
(renameLibrary = null)} />
{/if} {#if editImportPaths === index}
(editImportPaths = null)} />
{/if} {#if editScanSettings === index}
(editScanSettings = null)} />
{/if} {/each}
Type Name Assets Size
{#if library.type === LibraryType.External} {:else if library.type === LibraryType.Upload} {/if} {library.name} {totalCount[index]} {diskUsage[index]} {diskUsageUnit[index]} {#if showContextMenu} onMenuExit()}> onRenameClicked()} text={`Rename`} /> {#if selectedLibrary && selectedLibrary.type === LibraryType.External} onEditImportPathClicked()} text="Edit Import Paths" /> onScanSettingClicked()} text="Scan Settings" />
onScanNewLibraryClicked()} text="Scan New Library Files" /> onScanAllLibraryFilesClicked()} text="Re-scan All Library Files" subtitle={'Only refreshes modified files'} /> onForceScanAllLibraryFilesClicked()} text="Force Re-scan All Library Files" subtitle={'Refreshes every file'} />
onRemoveOfflineFilesClicked()} text="Remove Offline Files" /> onDeleteLibraryClicked()}>

Delete library

{/if}
{/if}
{/if}