mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-25 23:40:08 +08:00
no log: Reset values when submitted settings
This commit is contained in:
parent
30f04feae6
commit
7a43e284ae
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ const Layout: FunctionComponent<Props> = (props) => {
|
||||||
|
|
||||||
useOnValueChange(isRefetching, (value) => {
|
useOnValueChange(isRefetching, (value) => {
|
||||||
if (!value) {
|
if (!value) {
|
||||||
form.setValues((values) => ({ ...values, settings: {} }));
|
form.reset();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue