diff --git a/astro/src/components/web/LastAlbums.astro b/astro/src/components/web/LastAlbums.astro index e03b5f0..9e65e82 100644 --- a/astro/src/components/web/LastAlbums.astro +++ b/astro/src/components/web/LastAlbums.astro @@ -25,7 +25,7 @@ const lastAlbums = await getLastAlbums(albums.amount); const size = calculateSizeClasses(albums.amount, lastAlbums.length); --- -{ settings.photo.enabled && ( +{ (settings.photo.enabled && lastAlbums.length > 0) && (
0) && (
0) && (