UI Fixes and Improvements (02/14/2025) p1 (#8546)

* fix(user_dashboard.tsx): add bounding height to keys table ui

prevents table from exceeding page height

* fix(create_key_button.tsx): do not require team to be selected when user creating keys - allow personal key creation

* fix(team_info.tsx): allow proxy admin to edit/delete team members even when not specifically team admins
This commit is contained in:
Krish Dholakia 2025-02-14 11:30:49 -08:00 committed by GitHub
parent 08aa201e15
commit 3deefc8e2f
5 changed files with 16 additions and 183 deletions

View file

@ -2545,8 +2545,8 @@ export const teamMemberDeleteCall = async (
},
body: JSON.stringify({
team_id: teamId,
...(formValues.user_email && { user_email: formValues.user_email }),
...(formValues.user_id && { user_id: formValues.user_id })
...(formValues.user_email !== undefined && { user_email: formValues.user_email }),
...(formValues.user_id !== undefined && { user_id: formValues.user_id })
}),
});