From 4695e10341ba779d8ed339c54be5e9109aedd090 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 30 Mar 2026 13:24:53 -0500 Subject: [PATCH] await config refresh before clearing pending form data (#22707) --- web/src/components/config-form/sections/BaseSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/config-form/sections/BaseSection.tsx b/web/src/components/config-form/sections/BaseSection.tsx index 96bd3efa9..cc1448703 100644 --- a/web/src/components/config-form/sections/BaseSection.tsx +++ b/web/src/components/config-form/sections/BaseSection.tsx @@ -737,8 +737,8 @@ export function ConfigSection({ ); } + await refreshConfig(); setPendingData(null); - refreshConfig(); onSave?.(); } catch (error) { // Parse Pydantic validation errors from API response