From 0a3346d9112a4b43f1991d5ed45fbaa39887198b Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Mon, 17 Feb 2025 15:25:23 +0300 Subject: [PATCH] fix install check config --- client/src/actions/install.ts | 2 +- client/src/install/Setup/Settings.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/actions/install.ts b/client/src/actions/install.ts index 55114d2c..ea9b0e22 100644 --- a/client/src/actions/install.ts +++ b/client/src/actions/install.ts @@ -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 })); diff --git a/client/src/install/Setup/Settings.tsx b/client/src/install/Setup/Settings.tsx index 6c8153d6..bfb9da6e 100644 --- a/client/src/install/Setup/Settings.tsx +++ b/client/src/install/Setup/Settings.tsx @@ -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; }