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 viewing page as internal user viewer

Ishaan Jaff1b6f0ed43b36
diff --git a/ui/litellm-dashboard/src/components/team/team_info.tsx b/ui/litellm-dashboard/src/components/team/team_info.tsx
index 7de7396980b..d268f137f64 100644
--- a/ui/litellm-dashboard/src/components/team/team_info.tsx
+++ b/ui/litellm-dashboard/src/components/team/team_info.tsx
@@ -222,9 +222,13 @@ const TeamInfoView: React.FC<TeamInfoProps> = ({
<TabGroup defaultIndex={editTeam ? 2 : 0}>
<TabList className="mb-4">
- <Tab>Overview</Tab>
- <Tab>Members</Tab>
- <Tab>Settings</Tab>
+ {[
+ <Tab key="overview">Overview</Tab>,
+ ...(canEditTeam ? [
+ <Tab key="members">Members</Tab>,
+ <Tab key="settings">Settings</Tab>
+ ] : [])
+ ]}
</TabList>
<TabPanels>