fix query log

This commit is contained in:
Ildar Kamalov
2025-02-14 17:18:20 +03:00
parent 14a2685ae3
commit 17c4c26ea8
9 changed files with 57 additions and 355 deletions

View File

@@ -131,7 +131,10 @@ export const Settings = ({ handleSubmit, handleFix, validateForm, config, interf
const dnsPortVal = watch('dns.port');
useEffect(() => {
if (!isValid || validateInstallPort(webPortVal) || validateInstallPort(dnsPortVal)) {
const webPortError = validateInstallPort(webPortVal);
const dnsPortError = validateInstallPort(dnsPortVal);
if (!isValid || webPortError || dnsPortError) {
return;
}