diff --git a/src/pages/kind/[...kindPath].astro b/src/pages/kind/[...kindPath].astro index 989c67c..196a542 100644 --- a/src/pages/kind/[...kindPath].astro +++ b/src/pages/kind/[...kindPath].astro @@ -33,7 +33,16 @@ if ( redirectResponse !== null ) { } -const kindPage = await DoesItAPI.kind( pathSlug )( subSlug ).get() +const rawKindPage = await DoesItAPI.kind( pathSlug )( subSlug ).get() + +// Clean up unused kind data +const kindPage = { + ...rawKindPage, + items: rawKindPage.items.map( item => ({ + ...item, + bundles: undefined, + }) ) +} const categorySlug = getKindToCategorySlug( pathSlug )