mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
Form.useForm() owns a store that outlives the dialog, and initialValues seeds it only on first mount. Reopening Edit scope for a second destination therefore left the previous one's scope in the fields while only the title changed, and Save sends the whole access object, so pressing it wrote that stale scope: a team-scoped destination silently became global and began receiving every tenant's traces. Key the modal on the destination so the component, and the form store with it, is rebuilt per destination. destroyOnHidden alone does not help (destroyOnClose was renamed in antd 5.25 and this is 5.29, but neither remounts the store the parent holds), and reseeding from an effect does not either, because the portal's children mount after the effect runs. |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||