diff --git a/admin-compliance/app/sdk/iace/[projectId]/tech-file/page.tsx b/admin-compliance/app/sdk/iace/[projectId]/tech-file/page.tsx index b72843a..62f02a8 100644 --- a/admin-compliance/app/sdk/iace/[projectId]/tech-file/page.tsx +++ b/admin-compliance/app/sdk/iace/[projectId]/tech-file/page.tsx @@ -140,7 +140,12 @@ export default function TechFilePage() { const res = await fetch(`/api/sdk/v1/iace/projects/${projectId}/tech-file`) if (res.ok) { const json = await res.json() - setSections(json.sections || json || []) + const raw = json.sections || json || [] + // Map html_content → content for frontend compatibility + setSections(raw.map((s: Record) => ({ + ...s, + content: s.content || s.html_content || null, + }))) } } catch (err) { console.error('Failed to fetch tech file sections:', err)