Fix empty CSP summary rendering
Build and Publish / Metadata (push) Successful in 10s
Build and Publish / BuildAndDeployAmd64 (push) Failing after 24s

This commit is contained in:
developer committed 2026-09-25 07:40:41 +00:00
1 parent 4f6e6ba35d
commit 7a075fbe9a
1 file changed
+2 -2
@@ -183,8 +183,8 @@ export function CspReportsVisualizer() {
<div className="grid grid-cols-2 gap-3 lg:grid-cols-4">
<StatCard label="Reports in window" value={summary ? summary.total.toLocaleString() : "—"} />
<StatCard label="Sites reporting" value={summary ? summary.sites.toLocaleString() : "—"} />
<StatCard label="Top directive" value={summary?.byDirective[0]?.name ?? "—"} />
<StatCard label="Top blocked host" value={summary?.byBlockedHost[0]?.name ?? "—"} />
<StatCard label="Top directive" value={summary?.byDirective?.[0]?.name ?? "—"} />
<StatCard label="Top blocked host" value={summary?.byBlockedHost?.[0]?.name ?? "—"} />
</div>
<FilterBar