From 29a2579f5fbb946c9c4e91e159797178fbed94e8 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Wed, 4 May 2022 19:10:06 -0500 Subject: [PATCH] Fix rendering empty bundles section --- src/components/listing-parts/bundles.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/listing-parts/bundles.astro b/src/components/listing-parts/bundles.astro index 7ba76c6..b9f49b0 100644 --- a/src/components/listing-parts/bundles.astro +++ b/src/components/listing-parts/bundles.astro @@ -11,7 +11,7 @@ const { listing } = Astro.props -const hasBundleIdentifiers = Array.isArray( listing.bundles ) +const hasBundleIdentifiers = Array.isArray( listing.bundles ) && listing.bundles.length > 0 --- { hasBundleIdentifiers && (