mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-03 13:54:55 +03:00
await config refresh before clearing pending form data
This commit is contained in:
parent
5a5d23b503
commit
3e006d954d
@ -737,8 +737,8 @@ export function ConfigSection({
|
||||
);
|
||||
}
|
||||
|
||||
await refreshConfig();
|
||||
setPendingData(null);
|
||||
refreshConfig();
|
||||
onSave?.();
|
||||
} catch (error) {
|
||||
// Parse Pydantic validation errors from API response
|
||||
|
||||
Loading…
Reference in New Issue
Block a user