Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix member count being on an irrelevant page

Ryan Crabbedc9c2fe51ff1
diff --git a/ui/litellm-dashboard/src/components/common_components/MemberTable.tsx b/ui/litellm-dashboard/src/components/common_components/MemberTable.tsx
index a41b7c341e5..64ffd8bb4df 100644
--- a/ui/litellm-dashboard/src/components/common_components/MemberTable.tsx
+++ b/ui/litellm-dashboard/src/components/common_components/MemberTable.tsx
@@ -104,6 +104,9 @@ export default function MemberTable({
return (
<Space direction="vertical" style={{ width: "100%" }}>
+ <span className="inline-flex text-sm text-gray-700">
+ {members.length} Member{members.length !== 1 ? "s" : ""}
+ </span>
<Table
columns={baseColumns}
dataSource={members}
diff --git a/ui/litellm-dashboard/src/components/team/TeamVirtualKeysTable.tsx b/ui/litellm-dashboard/src/components/team/TeamVirtualKeysTable.tsx
index c8a54145b51..e6298d5a0e2 100644
--- a/ui/litellm-dashboard/src/components/team/TeamVirtualKeysTable.tsx
+++ b/ui/litellm-dashboard/src/components/team/TeamVirtualKeysTable.tsx
@@ -596,15 +596,7 @@ export function TeamVirtualKeysTable({ teamId, teamAlias, organization }: TeamVi
/>
</div>
- <div className="flex items-center justify-between w-full mb-4">
- {isLoading || isFetching ? (
- <Skeleton.Node active style={{ width: 200, height: 20 }} />
- ) : (
- <span className="inline-flex text-sm text-gray-700">
- {totalCount} Member{totalCount !== 1 ? "s" : ""}
- </span>
- )}
-
+ <div className="flex items-center justify-end w-full mb-4">
<div className="inline-flex items-center gap-2">
{isLoading || isFetching ? (
<Skeleton.Node active style={{ width: 74, height: 20 }} />