mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2024-11-14 17:35:35 +01:00
Fix form submission button for one or more Wi-Fi modules.
This commit is contained in:
parent
1e95bff7ff
commit
57f1ccced8
|
@ -89,5 +89,5 @@ function validator(formData) {
|
|||
return errors;
|
||||
},
|
||||
);
|
||||
return JSON.stringify(formErrors) === "[{},{}]" ? null : formErrors;
|
||||
return JSON.stringify(formErrors).match(/\[[{},?]+\]/) ? null : formErrors;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user