Litellm dev 01 23 2025 p2 (#7962)

* fix(ui/): revert user team key view

* fix(view_key_table.tsx): fix default team view - show all personal keys

* fix(navbar.tsx): fix custom logo

Fixes https://github.com/BerriAI/litellm/issues/7895

---------

Co-authored-by: Ishaan Jaff <ishaanjaffer0324@gmail.com>
This commit is contained in:
Krish Dholakia 2025-01-23 21:02:15 -08:00 committed by GitHub
parent 70a3683552
commit 744b7709ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 14 additions and 7 deletions

View file

@ -166,7 +166,7 @@ const ViewKeyTable: React.FC<ViewKeyTableProps> = ({
});
// If no team is selected, show all accessible keys
if (!selectedTeam && data) {
if ((!selectedTeam || selectedTeam.team_alias === "Default Team") && data) {
const personalKeys = data.filter(key => !key.team_id || key.team_id === "default-team");
const adminTeamKeys = teams
.filter(team => isUserTeamAdmin(team))