diff --git a/ui/litellm-dashboard/src/components/create_key_button.tsx b/ui/litellm-dashboard/src/components/create_key_button.tsx index 3f2d8e7b5..7ce84b1f5 100644 --- a/ui/litellm-dashboard/src/components/create_key_button.tsx +++ b/ui/litellm-dashboard/src/components/create_key_button.tsx @@ -18,7 +18,7 @@ const { Option } = Select; interface CreateKeyProps { userID: string; - teamID: string | null; + team: any | null; userRole: string | null; accessToken: string; data: any[] | null; @@ -27,7 +27,7 @@ interface CreateKeyProps { const CreateKey: React.FC = ({ userID, - teamID, + team, userRole, accessToken, data, @@ -130,7 +130,8 @@ const CreateKey: React.FC = ({ diff --git a/ui/litellm-dashboard/src/components/user_dashboard.tsx b/ui/litellm-dashboard/src/components/user_dashboard.tsx index d164a35a1..ecbd0f6f9 100644 --- a/ui/litellm-dashboard/src/components/user_dashboard.tsx +++ b/ui/litellm-dashboard/src/components/user_dashboard.tsx @@ -203,6 +203,8 @@ const UserDashboard: React.FC = ({ ); } + console.log("inside user dashboard, selected team", selectedTeam); + return (
@@ -220,8 +222,9 @@ const UserDashboard: React.FC = ({ setData={setKeys} />