From 004021ff84ff32dfab72324c975c141b0ed89e95 Mon Sep 17 00:00:00 2001 From: Mathis HERRIOT <197931332+0x485254@users.noreply.github.com> Date: Thu, 29 Jan 2026 13:55:34 +0100 Subject: [PATCH] feat: display reporter and content details in admin reports table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added "Signalé par" column to show reporter ID. - Displayed content links or "Tag" for reported items. --- .../src/app/(dashboard)/admin/reports/page.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/frontend/src/app/(dashboard)/admin/reports/page.tsx b/frontend/src/app/(dashboard)/admin/reports/page.tsx index a36d192..f4bc57b 100644 --- a/frontend/src/app/(dashboard)/admin/reports/page.tsx +++ b/frontend/src/app/(dashboard)/admin/reports/page.tsx @@ -103,6 +103,7 @@ export default function AdminReportsPage() { + Signalé par Raison Description Statut @@ -126,6 +127,21 @@ export default function AdminReportsPage() { ) : ( reports.map((report) => ( + + {report.reporterId.substring(0, 8)}... + + + {report.contentId ? ( + + Contenu + + ) : ( + "Tag" + )} + {report.reason}