gynecology-fix #114

Merged
amit merged 11 commits from gynecology-fix into main 2026-11-05 10:26:06 +00:00
1 changed files with 0 additions and 8 deletions
Showing only changes of commit 058d96f353 - Show all commits

View File

@ -341,14 +341,6 @@ export function ModuleCatalogCardRenderer({
onPress, onPress,
}: CollectionItemRendererProps) { }: CollectionItemRendererProps) {
const attributes = item.attributes; 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 = const rawTitle =
asString(attributes.food_name) || asString(attributes.food_name) ||
asString(attributes.name) || asString(attributes.name) ||