From 1b6f0ed43b36ebfea8c46da02e73f012af401d25 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 11 Mar 2025 11:50:33 -0700 Subject: [PATCH] fix viewing page as internal user viewer --- ui/litellm-dashboard/src/components/team/team_info.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ui/litellm-dashboard/src/components/team/team_info.tsx b/ui/litellm-dashboard/src/components/team/team_info.tsx index 7de7396980..d268f137f6 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 = ({ - Overview - Members - Settings + {[ + Overview, + ...(canEditTeam ? [ + Members, + Settings + ] : []) + ]}