await config refresh before clearing pending form data (#22707)

This commit is contained in:
Josh Hawkins
2026-03-30 13:24:53 -05:00
committed by GitHub
parent 5a5d23b503
commit 4695e10341

View File

@@ -737,8 +737,8 @@ export function ConfigSection({
);
}
await refreshConfig();
setPendingData(null);
refreshConfig();
onSave?.();
} catch (error) {
// Parse Pydantic validation errors from API response