This commit is contained in:
k
2026-09-21 21:57:36 +02:00
parent e69654430a
commit 43003957eb
4 changed files with 98 additions and 10 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ export function AdminCenter() {
try {
const res = await api.adminReportList();
setOpenReportCount(
res.reports.filter((r) => r.status === "open" || r.status === "reviewing").length,
res.reports.filter((r) => (r.status === "open" || r.status === "reviewing") && r.reporter_shadowbanned !== 1).length,
);
} catch {
// Transient failure: keep last count.