From 060a2f9fda981f785fe7720eaff3f4d8b2a0bad1 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Thu, 28 Mar 2024 18:57:44 -0700 Subject: [PATCH] (feat) make key/team name required on UI --- .../src/components/create_key_button.tsx | 9 +++++---- ui/litellm-dashboard/src/components/teams.tsx | 6 +++++- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ui/litellm-dashboard/src/components/create_key_button.tsx b/ui/litellm-dashboard/src/components/create_key_button.tsx index 82ce56ed89..4a31a9b0ff 100644 --- a/ui/litellm-dashboard/src/components/create_key_button.tsx +++ b/ui/litellm-dashboard/src/components/create_key_button.tsx @@ -124,7 +124,11 @@ const CreateKey: React.FC = ({ > {userRole === "App Owner" || userRole === "Admin" ? ( <> - + = ({ ))} - - - diff --git a/ui/litellm-dashboard/src/components/teams.tsx b/ui/litellm-dashboard/src/components/teams.tsx index eaf5dc078d..007a498c63 100644 --- a/ui/litellm-dashboard/src/components/teams.tsx +++ b/ui/litellm-dashboard/src/components/teams.tsx @@ -235,7 +235,11 @@ const Team: React.FC = ({ labelAlign="left" > <> - +