Fix Windsor JSX so the metrics build can ship.

The second panel was still live because Next failed on an unwrapped ternary; the unified scorecard can deploy now.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
4Ventures
2026-10-06 12:21:45 +02:00
parent ed52bf99c4
commit 5b21ffce94

View File

@@ -516,6 +516,7 @@ export default function WindsorAiSection({
)} )}
{!embedded ? ( {!embedded ? (
<>
<div className="bg-slate-50 border border-slate-200/80 rounded-xl p-3"> <div className="bg-slate-50 border border-slate-200/80 rounded-xl p-3">
<p className="text-[11px] font-semibold uppercase tracking-wider text-slate-500 mb-2 flex items-center gap-1.5"> <p className="text-[11px] font-semibold uppercase tracking-wider text-slate-500 mb-2 flex items-center gap-1.5">
<Database className="w-3.5 h-3.5 text-indigo-600" /> <Database className="w-3.5 h-3.5 text-indigo-600" />
@@ -584,6 +585,7 @@ export default function WindsorAiSection({
</p> </p>
</div> </div>
</div> </div>
</>
) : null} ) : null}
{/* Tabs: detalle, no scorecard duplicado */} {/* Tabs: detalle, no scorecard duplicado */}