mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
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:
parent
70a3683552
commit
744b7709ca
7 changed files with 14 additions and 7 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue