feature: Phase 2- splitting the treatment schema into TreatmentDetail and LabCase.
This commit is contained in:
@@ -64,7 +64,7 @@ export function PastTreatmentsPanel({
|
||||
</div>
|
||||
|
||||
<div className="space-y-1.5">
|
||||
{treatment.cases.map((c, idx) => {
|
||||
{treatment.details.map((c, idx) => {
|
||||
const attachments = c.attachmentMetas ?? [];
|
||||
const typeKey = TREATMENT_TYPE_KEYS[c.treatmentType as keyof typeof TREATMENT_TYPE_KEYS];
|
||||
const typeLabel = typeKey ? t(typeKey) : c.treatmentType;
|
||||
|
||||
Reference in New Issue
Block a user