Update overview stats
cgen-96922a15d4cb47fd90b4f086017d1a86
This commit is contained in:
parent
e3d826f0ee
commit
b1c6c0fa6f
1 changed files with 16 additions and 6 deletions
|
|
@ -229,15 +229,25 @@ export default function Admin() {
|
||||||
tone: "green" as const,
|
tone: "green" as const,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Security posture",
|
title: "Pending applications",
|
||||||
value: "Owner",
|
value: applicationsLoading ? "…" : pendingApplications.toString(),
|
||||||
description: `Admin access scoped to ${ownerEmail}.`,
|
description: "Project collaboration requests awaiting review.",
|
||||||
trend: "Multi-role privileges active",
|
trend: applicationsLoading
|
||||||
icon: Shield,
|
? "Fetching submissions…"
|
||||||
|
: `${applications.length} total submissions`,
|
||||||
|
icon: ClipboardList,
|
||||||
tone: "orange" as const,
|
tone: "orange" as const,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
[featuredStudios, loadingPosts, ownerEmail, publishedPosts, totalMembers],
|
[
|
||||||
|
applications.length,
|
||||||
|
applicationsLoading,
|
||||||
|
featuredStudios,
|
||||||
|
loadingPosts,
|
||||||
|
pendingApplications,
|
||||||
|
publishedPosts,
|
||||||
|
totalMembers,
|
||||||
|
],
|
||||||
);
|
);
|
||||||
|
|
||||||
const quickActions = useMemo(
|
const quickActions = useMemo(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue