mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
16 lines
343 B
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}
|