fix: ground-truth crash on col_type + remove AIToolsSidebarResponsive from model-management
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 26s
CI / test-go-edu-search (push) Successful in 29s
CI / test-python-klausur (push) Failing after 2m0s
CI / test-python-agent-core (push) Successful in 17s
CI / test-nodejs-website (push) Successful in 18s

- Ground-truth: zone.columns use 'label' not 'col_type' — calling
  .replace() on undefined crashed the page after grid data loaded
- Model-management: same AIToolsSidebarResponsive wrapper bug as the
  other pages — does not render children

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-03-23 10:14:02 +01:00
parent dccbb909bc
commit 4e809c3860
2 changed files with 3 additions and 4 deletions

View File

@@ -466,7 +466,7 @@ export default function GroundTruthReviewPage() {
Zone {zi + 1} ({zone.zone_type})
{zone.columns?.length > 0 && (
<span className="ml-2">
{zone.columns.map(c => c.col_type.replace('column_', '')).join(' | ')}
{zone.columns.map((c: any) => (c.label || c.col_type || '').replace('column_', '')).join(' | ')}
</span>
)}
</div>