mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-02-20 11:44:09 +08:00
fix install check config
Some checks are pending
build / test (macOS-latest) (push) Waiting to run
build / test (ubuntu-latest) (push) Waiting to run
build / test (windows-latest) (push) Waiting to run
build / build-release (push) Blocked by required conditions
build / notify (push) Blocked by required conditions
lint / go-lint (push) Waiting to run
lint / eslint (push) Waiting to run
lint / notify (push) Blocked by required conditions
Some checks are pending
build / test (macOS-latest) (push) Waiting to run
build / test (ubuntu-latest) (push) Waiting to run
build / test (windows-latest) (push) Waiting to run
build / build-release (push) Blocked by required conditions
build / notify (push) Blocked by required conditions
lint / go-lint (push) Waiting to run
lint / eslint (push) Waiting to run
lint / notify (push) Blocked by required conditions
This commit is contained in:
parent
17c4c26ea8
commit
0a3346d911
@ -51,7 +51,7 @@ export const checkConfig = (values: any) => async (dispatch: any) => {
|
|||||||
const check = await apiClient.checkConfig(values);
|
const check = await apiClient.checkConfig(values);
|
||||||
dispatch(checkConfigSuccess({
|
dispatch(checkConfigSuccess({
|
||||||
...values,
|
...values,
|
||||||
check,
|
...check,
|
||||||
}));
|
}));
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
dispatch(addErrorToast({ error }));
|
dispatch(addErrorToast({ error }));
|
||||||
|
@ -134,7 +134,7 @@ export const Settings = ({ handleSubmit, handleFix, validateForm, config, interf
|
|||||||
const webPortError = validateInstallPort(webPortVal);
|
const webPortError = validateInstallPort(webPortVal);
|
||||||
const dnsPortError = validateInstallPort(dnsPortVal);
|
const dnsPortError = validateInstallPort(dnsPortVal);
|
||||||
|
|
||||||
if (!isValid || webPortError || dnsPortError) {
|
if (webPortError || dnsPortError) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user