From 1bb726aa7acb7a09341acfc11eb65ebc5f3f131a Mon Sep 17 00:00:00 2001 From: Ryan Crabbe Date: Fri, 3 Apr 2026 12:15:45 -0700 Subject: [PATCH] fix(ui): only send organization_id when changed and use raw initial value --- ui/litellm-dashboard/src/components/team/TeamInfo.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/litellm-dashboard/src/components/team/TeamInfo.tsx b/ui/litellm-dashboard/src/components/team/TeamInfo.tsx index 688adb56f4..2d51bc31f0 100644 --- a/ui/litellm-dashboard/src/components/team/TeamInfo.tsx +++ b/ui/litellm-dashboard/src/components/team/TeamInfo.tsx @@ -491,7 +491,9 @@ const TeamInfoView: React.FC = ({ ...(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);