patterns #79

Merged
amit merged 14 commits from patterns into main 2026-10-26 04:35:20 +00:00
2 changed files with 7 additions and 1 deletions
Showing only changes of commit c40e4cd254 - Show all commits

View File

@ -179,7 +179,11 @@ export function EovDetailRenderer({
order: orderFor("treatment", 140), order: orderFor("treatment", 140),
render: () => ( render: () => (
<SectionCard title="Treatment"> <SectionCard title="Treatment">
{typeof data.treatment === "object" ? (
<ContentValue value={data.treatment} />
) : (
<Text style={styles.pathway}>{asString(data.treatment)}</Text> <Text style={styles.pathway}>{asString(data.treatment)}</Text>
)}
</SectionCard> </SectionCard>
), ),
}); });

View File

@ -33,6 +33,8 @@ const DEFAULT_EXCLUDED_KEYS = new Set([
"point_codes", "point_codes",
"source_point", "source_point",
"source_points", "source_points",
"treatment",
"treatment_principle",
]); ]);
export function ContentLinkAttributeSections({ export function ContentLinkAttributeSections({