From b1c6c0fa6fea3f59bffbe727faaf9846136f7f3d Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 14 Oct 2025 02:25:04 +0000 Subject: [PATCH] Update overview stats cgen-96922a15d4cb47fd90b4f086017d1a86 --- client/pages/Admin.tsx | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/client/pages/Admin.tsx b/client/pages/Admin.tsx index 1a5403b0..ab97a8b5 100644 --- a/client/pages/Admin.tsx +++ b/client/pages/Admin.tsx @@ -229,15 +229,25 @@ export default function Admin() { tone: "green" as const, }, { - title: "Security posture", - value: "Owner", - description: `Admin access scoped to ${ownerEmail}.`, - trend: "Multi-role privileges active", - icon: Shield, + title: "Pending applications", + value: applicationsLoading ? "…" : pendingApplications.toString(), + description: "Project collaboration requests awaiting review.", + trend: applicationsLoading + ? "Fetching submissions…" + : `${applications.length} total submissions`, + icon: ClipboardList, tone: "orange" as const, }, ], - [featuredStudios, loadingPosts, ownerEmail, publishedPosts, totalMembers], + [ + applications.length, + applicationsLoading, + featuredStudios, + loadingPosts, + pendingApplications, + publishedPosts, + totalMembers, + ], ); const quickActions = useMemo(