mirror of
https://github.com/immich-app/immich.git
synced 2025-12-27 05:03:58 -08:00
* refactor: albums list * fix: rename filename * chore: fix merge * pr feedback * chore: fix merge * pr feedback --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
18 lines
578 B
Svelte
18 lines
578 B
Svelte
<script lang="ts">
|
|
import UserPageLayout from '$lib/components/layouts/user-page-layout.svelte';
|
|
import type { PageData } from './$types';
|
|
import AlbumsControls from '$lib/components/album-page/albums-controls.svelte';
|
|
import Albums from '$lib/components/album-page/albums-list.svelte';
|
|
|
|
export let data: PageData;
|
|
|
|
let searchAlbum = '';
|
|
</script>
|
|
|
|
<UserPageLayout title={data.meta.title}>
|
|
<div class="flex place-items-center gap-2" slot="buttons">
|
|
<AlbumsControls bind:searchAlbum />
|
|
</div>
|
|
<Albums albums={data.albums} {searchAlbum} />
|
|
</UserPageLayout>
|