forked from phoenix/litellm-mirror
ui - cleanup view users tab
This commit is contained in:
parent
08d37e1b0e
commit
081e8732dc
1 changed files with 3 additions and 5 deletions
|
@ -157,13 +157,11 @@ const ViewUserDashboard: React.FC<ViewUserDashboardProps> = ({
|
||||||
<CreateUser userID={userID} accessToken={accessToken} teams={teams}/>
|
<CreateUser userID={userID} accessToken={accessToken} teams={teams}/>
|
||||||
<Card className="w-full mx-auto flex-auto overflow-y-auto max-h-[80vh] mb-4">
|
<Card className="w-full mx-auto flex-auto overflow-y-auto max-h-[80vh] mb-4">
|
||||||
<div className="mb-4 mt-1">
|
<div className="mb-4 mt-1">
|
||||||
<Text><b>Key Owners: </b> Users on LiteLLM that created API Keys. Automatically tracked by LiteLLM</Text>
|
<Text>These are Users on LiteLLM that created API Keys. Automatically tracked by LiteLLM</Text>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<TabGroup>
|
<TabGroup>
|
||||||
<TabList variant="line" defaultValue="1">
|
|
||||||
<Tab value="1">Key Owners</Tab>
|
|
||||||
</TabList>
|
|
||||||
<TabPanels>
|
<TabPanels>
|
||||||
<TabPanel>
|
<TabPanel>
|
||||||
|
|
||||||
|
@ -189,7 +187,7 @@ const ViewUserDashboard: React.FC<ViewUserDashboardProps> = ({
|
||||||
? user.models
|
? user.models
|
||||||
: "All Models"}
|
: "All Models"}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell>{user.spend ? user.spend : 0}</TableCell>
|
<TableCell>{user.spend ? user.spend?.toFixed(2) : 0}</TableCell>
|
||||||
<TableCell>
|
<TableCell>
|
||||||
{user.max_budget ? user.max_budget : "Unlimited"}
|
{user.max_budget ? user.max_budget : "Unlimited"}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue