diff --git a/ui/litellm-dashboard/src/components/dashboard_default_team.tsx b/ui/litellm-dashboard/src/components/dashboard_default_team.tsx index c845ef1508a..98f287ed4c9 100644 --- a/ui/litellm-dashboard/src/components/dashboard_default_team.tsx +++ b/ui/litellm-dashboard/src/components/dashboard_default_team.tsx @@ -34,20 +34,19 @@ const DashboardTeam: React.FC = ({ } else { updatedTeams = teams ? [...teams, defaultTeam] : [defaultTeam]; } + if (userRole === 'App User') return null; return (
Select Team - {userRole !== "App User" && ( - <> - - If you belong to multiple teams, this setting controls which team is used by default when creating new API Keys. - - - Default Team: If no team_id is set for a key, it will be grouped under here. - - - )} + + + If you belong to multiple teams, this setting controls which team is used by default when creating new API Keys. + + + Default Team: If no team_id is set for a key, it will be grouped under here. + + {updatedTeams && updatedTeams.length > 0 ? (