Skip to content

Commit

Permalink
fix install check config
Browse files Browse the repository at this point in the history
  • Loading branch information
IldarKamalov committed Feb 17, 2025
1 parent 17c4c26 commit 0a3346d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/actions/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }));
Expand Down
2 changes: 1 addition & 1 deletion client/src/install/Setup/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 0a3346d

Please sign in to comment.