mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
fix(ui): only send organization_id when changed and use raw initial value
This commit is contained in:
parent
5a8f910fe3
commit
1bb726aa7a
1 changed files with 3 additions and 1 deletions
|
|
@ -491,7 +491,9 @@ const TeamInfoView: React.FC<TeamInfoProps> = ({
|
|||
...(secretManagerSettings !== undefined ? { secret_manager_settings: secretManagerSettings } : {}),
|
||||
},
|
||||
...(values.policies?.length > 0 ? { policies: values.policies } : {}),
|
||||
organization_id: values.organization_id ?? "",
|
||||
...(values.organization_id !== info.organization_id
|
||||
? { organization_id: values.organization_id ?? "" }
|
||||
: {}),
|
||||
};
|
||||
|
||||
updateData.max_budget = mapEmptyStringToNull(updateData.max_budget);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue