mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-03 22:04:53 +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);
|
setPendingData(null);
|
||||||
refreshConfig();
|
|
||||||
onSave?.();
|
onSave?.();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// Parse Pydantic validation errors from API response
|
// Parse Pydantic validation errors from API response
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user