{#each duplicate.assets as asset, index (index)} {@const isSelected = selectedAssetIds.has(asset.id)} {@const isFromExternalLibrary = !!asset.libraryId} {@const assetData = JSON.stringify(asset, null, 2)}
{asset.originalFileName}
{getAssetResolution(asset)} - {getFileSize(asset)}
{#await getAllAlbums({ assetId: asset.id })} Scanning for album... {:then albums} {#if albums.length === 0} Not in any album {:else} In {albums.length} album{s(albums.length)} {/if} {/await}
{/each}
{#if trashCount === 0} {:else} {/if}