From d3e40370513f7b186b468976df62f6bfe25ce84e Mon Sep 17 00:00:00 2001 From: ShivaniKhaire Date: Thu, 22 Oct 2026 16:22:18 +0530 Subject: [PATCH] fix(catalog): remove sub name from module catalog cards --- .../collections/ModuleCatalogRenderers.tsx | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/features/content/renderers/collections/ModuleCatalogRenderers.tsx b/src/features/content/renderers/collections/ModuleCatalogRenderers.tsx index 25f15f5..246b185 100644 --- a/src/features/content/renderers/collections/ModuleCatalogRenderers.tsx +++ b/src/features/content/renderers/collections/ModuleCatalogRenderers.tsx @@ -22,15 +22,6 @@ export function ModuleCatalogCardRenderer({ }: CollectionItemRendererProps) { const attributes = item.attributes; const title = asString(attributes.name) || item.title; - const label = - asString(attributes.sub_title) || - asString(attributes.content_label) || - (asString(attributes.title) && asString(attributes.title) !== title - ? asString(attributes.title) - : null) || - asString(attributes.description) || - item.summary || - null; return ( {title} - {label ? ( - - {label} - - ) : null}