diff --git a/astro/src/components/web/LastAlbums.astro b/astro/src/components/web/LastAlbums.astro index 84fd72e..5e8bde3 100644 --- a/astro/src/components/web/LastAlbums.astro +++ b/astro/src/components/web/LastAlbums.astro @@ -23,8 +23,6 @@ const albums = Astro.props.albums; const settings = await getSettings(); const lastAlbums = await getLastAlbums(albums.amount); const size = calculateSizeClasses(albums.amount, lastAlbums.length); - -const testAlbums = [...lastAlbums, ...lastAlbums, ...lastAlbums, ...lastAlbums]; --- { settings.photo.enabled && ( @@ -44,9 +42,9 @@ const testAlbums = [...lastAlbums, ...lastAlbums, ...lastAlbums, ...lastAlbums]; - { testAlbums.length >= 4 ? ( + { lastAlbums.length >= 4 ? (
- { testAlbums.map((album) => ( + { lastAlbums.map((album) => (
) } - \ No newline at end of file