immich/web/src/lib/components/asset-viewer/album-list-item-details.svelte

16 lines
343 B
Svelte

<script lang="ts">
import type { AlbumResponseDto } from '@immich/sdk';
import { t } from 'svelte-i18n';
interface Props {
album: AlbumResponseDto;
}
let { album }: Props = $props();
</script>
<span>{$t('items_count', { values: { count: album.assetCount } })}</span>
{#if album.shared}
<span>{$t('shared')}</span>
{/if}