fix install check config

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);
dispatch(checkConfigSuccess({
...values,
check,
...check,
}));
} catch (error) {
dispatch(addErrorToast({ error }));

View File

@@ -134,7 +134,7 @@ export const Settings = ({ handleSubmit, handleFix, validateForm, config, interf
const webPortError = validateInstallPort(webPortVal);
const dnsPortError = validateInstallPort(dnsPortVal);
if (!isValid || webPortError || dnsPortError) {
if (webPortError || dnsPortError) {
return;
}