fix(tcm): remove generic content_ref hijack to restore standard pattern detail navigation

This commit is contained in:
ShivaniKhaire 2026-11-05 15:39:50 +05:30
parent 82e6bb0314
commit 058d96f353
1 changed files with 0 additions and 8 deletions

View File

@ -341,14 +341,6 @@ export function ModuleCatalogCardRenderer({
onPress,
}: CollectionItemRendererProps) {
const attributes = item.attributes;
const link = attributes?.link as Record<string, unknown> | undefined;
const isContentRef = link?.type === "content_ref";
// If this item points to a pattern content item, render inline accordion
if (isContentRef) {
return <PatternAccordionCardRenderer item={item} onPress={onPress} />;
}
const rawTitle =
asString(attributes.food_name) ||
asString(attributes.name) ||