From 119a73a3fccfce0de4468fe177831fa82155ab79 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Sat, 24 May 2025 12:30:09 -0700 Subject: [PATCH] fix: team viewer should not see create team (#11127) --- ui/litellm-dashboard/src/components/teams.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/litellm-dashboard/src/components/teams.tsx b/ui/litellm-dashboard/src/components/teams.tsx index b889718687..2a7e667ee7 100644 --- a/ui/litellm-dashboard/src/components/teams.tsx +++ b/ui/litellm-dashboard/src/components/teams.tsx @@ -425,13 +425,15 @@ const Teams: React.FC = ({
+ { + userRole == "Admin" || userRole == "Org Admin"? - + : null + } {selectedTeamId ? (