{#if confirmDeleteLibrary} (confirmDeleteLibrary = null)} /> {/if} {#if toCreateLibrary} handleCreate(detail.ownerId)} on:cancel={() => (toCreateLibrary = false)} /> {/if}
{#if libraries.length > 0} {#each libraries as library, index (library.id)} {#if totalCount[index] == undefined} {:else} {/if} {#if renameLibrary === index}
handleUpdate(detail)} on:cancel={() => (renameLibrary = null)} />
{/if} {#if editImportPaths === index}
handleUpdate(detail)} on:cancel={() => (editImportPaths = null)} />
{/if} {#if editScanSettings === index}
handleUpdate(detail.library)} on:cancel={() => (editScanSettings = null)} />
{/if} {/each}
Type Name Owner Assets Size
{#if library.type === LibraryType.External} {:else if library.type === LibraryType.Upload} {/if} {library.name} {#if owner[index] == undefined} {:else}{owner[index].name}{/if} {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}