From 31e600c4fe18a5aac4dae0ddae4bb35c4e0f9941 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Sat, 20 Apr 2024 15:50:01 -0700 Subject: [PATCH] (ui) - simplify user flow --- .../src/components/create_key_button.tsx | 62 +++++++++++++++++-- 1 file changed, 56 insertions(+), 6 deletions(-) diff --git a/ui/litellm-dashboard/src/components/create_key_button.tsx b/ui/litellm-dashboard/src/components/create_key_button.tsx index d7fb9c5eb1..6edc90dfc5 100644 --- a/ui/litellm-dashboard/src/components/create_key_button.tsx +++ b/ui/litellm-dashboard/src/components/create_key_button.tsx @@ -116,7 +116,7 @@ const CreateKey: React.FC = ({ wrapperCol={{ span: 16 }} labelAlign="left" > - {userRole === "App Owner" || userRole === "Admin" || userRole === "App User" ? ( + {userRole === "App Owner" || userRole === "Admin" ? ( <> = ({ ) : ( <> - + - - + - - + + + )}