Fix rendering empty bundles section

This commit is contained in:
Sam Carlton 2022-05-04 19:10:06 -05:00
parent ea52e7051e
commit 29a2579f5f

View file

@ -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 && (