From 6e3ec361ae54dea48b8cd048f883cd989a0d974e Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 2 Apr 2024 17:20:00 -0700 Subject: [PATCH 1/3] show all models in red on ui --- .../src/components/create_key_button.tsx | 3 ++ ui/litellm-dashboard/src/components/teams.tsx | 40 ++++++++++--------- .../src/components/view_key_table.tsx | 5 ++- 3 files changed, 29 insertions(+), 19 deletions(-) diff --git a/ui/litellm-dashboard/src/components/create_key_button.tsx b/ui/litellm-dashboard/src/components/create_key_button.tsx index 99cbd7b6e6..2a3d816806 100644 --- a/ui/litellm-dashboard/src/components/create_key_button.tsx +++ b/ui/litellm-dashboard/src/components/create_key_button.tsx @@ -142,6 +142,9 @@ const CreateKey: React.FC = ({ placeholder="Select models" style={{ width: "100%" }} > + {team && team.models ? ( team.models.map((model: string) => (