Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 16:23:28 +00:00
co-authored by renee-png
parent ed887669b4
commit 7611143132
+18
View File
@@ -148,6 +148,24 @@ export function CaseLitigationTab({ caseRecord, canManage, onSaved }: Props) {
<Card className="border-border/60">
<CardContent className="p-5 space-y-5">
{customFilled.length > 0 && (
<>
<Section icon={<ListChecks className="h-4 w-4" />} title="Custom fields">
<div className="grid grid-cols-1 sm:grid-cols-2 gap-3">
{customFilled.map((c) => (
<div key={c.id}>
<Label className="text-xs text-muted-foreground">{c.label}</Label>
<div className="text-sm mt-1 whitespace-pre-wrap">
{c.field_type === "date" ? formatDate(c.value) : c.value}
</div>
</div>
))}
</div>
</Section>
<Separator />
</>
)}
<Section icon={<FileSearch className="h-4 w-4" />} title="Case summary">
{editing ? (
<Textarea