Secure Sakani portal and show full album titles

This commit is contained in:
Leon Tonhäuser committed 2026-11-30 19:14:57 +01:00
1 parent c40ccf77cf
commit 69264ce165
49 files changed
+1362 -601

No files matched your search

+1 -2
View File
@@ -71,11 +71,10 @@ export default async function AlbumPage({ params, searchParams }: AlbumPageProps
{formatCount(result.page.total, "Foto")} gefunden
</p>
<PhotoGallery
albumId={result.album.id}
albumName={result.album.albumName}
items={result.page.items}
downloadOptions={result.downloadOptions}
lightboxAssetIds={[...result.lightboxAssetIds]}
lightboxAssetIds={result.page.items.filter(({ id }) => result.lightboxAssetIds.has(id)).map(({ id }) => id)}
/>
<PhotoPagination
albumId={result.album.id}
+1 -1
View File
@@ -60,7 +60,7 @@ export default async function AlbumsPage({ searchParams }: { searchParams: Promi
albumName="Alle Alben"
items={page.items}
downloadOptions={downloadOptions}
lightboxAssetIds={[...lightboxAssetIds]}
lightboxAssetIds={page.items.filter(({ id }) => lightboxAssetIds.has(id)).map(({ id }) => id)}
showAlbumName
/>
<GlobalSearchPagination currentPage={currentPage} page={page} query={query} format={format} jahr={jahr} />