2024-05-22 00:15:28 -05:00
|
|
|
<script lang="ts">
|
|
|
|
|
import type { AlbumResponseDto } from '@immich/sdk';
|
2024-06-24 15:50:01 +02:00
|
|
|
import { t } from 'svelte-i18n';
|
2024-05-22 00:15:28 -05:00
|
|
|
|
2024-11-14 08:43:25 -06:00
|
|
|
interface Props {
|
|
|
|
|
album: AlbumResponseDto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let { album }: Props = $props();
|
2024-05-22 00:15:28 -05:00
|
|
|
</script>
|
|
|
|
|
|
2024-06-24 15:50:01 +02:00
|
|
|
<span>{$t('items_count', { values: { count: album.assetCount } })}</span>
|
2024-05-22 00:15:28 -05:00
|
|
|
{#if album.shared}
|
2024-06-24 15:50:01 +02:00
|
|
|
<span>• {$t('shared')}</span>
|
2024-05-22 00:15:28 -05:00
|
|
|
{/if}
|