diff --git a/web/src/lib/components/utilities-page/duplicates/duplicate-asset.svelte b/web/src/lib/components/utilities-page/duplicates/duplicate-asset.svelte new file mode 100644 index 0000000000000..0f30eb6166088 --- /dev/null +++ b/web/src/lib/components/utilities-page/duplicates/duplicate-asset.svelte @@ -0,0 +1,94 @@ + + +
{asset.originalFileName} | +
{getAssetResolution(asset)} - {getFileSize(asset)} | +
+ {#await getAllAlbums({ assetId: asset.id })} + {$t('scanning_for_album')} + {:then albums} + {#if albums.length === 0} + {$t('not_in_any_album')} + {:else} + {$t('in_albums', { values: { count: albums.length } })} + {/if} + {/await} + | +
{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} - | -
{$t('organize_your_library').toUpperCase()}
- +