mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
fix member count being on an irrelevant page
This commit is contained in:
parent
6dd2a9a3ea
commit
dc9c2fe51f
2 changed files with 4 additions and 9 deletions
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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 }} />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue