mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-15 02:19:37 +00:00
fix(ui): only send organization_id when changed and use raw initial value
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user