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

This commit is contained in:
Ildar Kamalov 2025-02-17 15:25:23 +03:00
parent 17c4c26ea8
commit 0a3346d911
2 changed files with 2 additions and 2 deletions

View File

@ -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 }));

View File

@ -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;
} }