forked from phoenix/litellm-mirror
fix([WIP]): allow proxy admin to add users to view global spend
This commit is contained in:
parent
b5af282820
commit
d70149fe49
3 changed files with 233 additions and 0 deletions
|
@ -46,6 +46,11 @@ const Sidebar: React.FC<SidebarProps> = ({
|
|||
Teams
|
||||
</Menu.Item>
|
||||
) : null}
|
||||
{userRole == "Admin" ? (
|
||||
<Menu.Item key="7" onClick={() => setPage("admin-panel")}>
|
||||
Admin
|
||||
</Menu.Item>
|
||||
) : null}
|
||||
</Menu>
|
||||
</Sider>
|
||||
</Layout>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue