Secure Sakani portal and show full album titles
This commit is contained in:
1 parent
c40ccf77cf
commit
69264ce165
49 files changed
+1362
-601
No files matched your search
@@ -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}
|
||||
|
||||
@@ -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} />
|
||||
|
||||
Reference in new issue
Block a user