From 5476783e0c896ef2c923ac7d8f1ab7daab1e25d8 Mon Sep 17 00:00:00 2001 From: itsfinniii <102350242+itsfinniii@users.noreply.github.com> Date: Sat, 28 Mar 2026 13:01:34 +0100 Subject: [PATCH] Remove testing from LastAlbums component --- astro/src/components/web/LastAlbums.astro | 6 ++---- astro/src/components/web/LastProjects.astro | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) 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