mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-16 04:29:31 +00:00
fix(ui): place Home Create New Virtual Key button like the Virtual Keys page (#46778)
Co-authored-by: Krrish Dholakia <krrishdholakia@berri.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
7090588bdf
commit
0a17da59fd
1 changed files with 3 additions and 6 deletions
|
|
@ -29,14 +29,11 @@ export default function HomePage() {
|
|||
|
||||
return (
|
||||
<Page>
|
||||
<PageHeader className="flex flex-wrap items-center justify-between gap-3">
|
||||
<PageHeader>
|
||||
<PageHeaderTitle>Home</PageHeaderTitle>
|
||||
{!isViewOnly && (
|
||||
<PageHeaderControls className="mt-0">
|
||||
<Button
|
||||
render={<a href={uiHref("api-keys?create=true")} />}
|
||||
className="bg-info text-info-foreground shadow-xs hover:bg-info/90"
|
||||
>
|
||||
<PageHeaderControls>
|
||||
<Button render={<a href={uiHref("api-keys?create=true")} />}>
|
||||
<Plus />
|
||||
Create New Virtual Key
|
||||
</Button>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue