await config refresh before clearing pending form data

This commit is contained in:
Josh Hawkins 2026-03-30 12:02:41 -05:00
parent 5a5d23b503
commit 3e006d954d

View File

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