Added button to reset encryption settings

This commit is contained in:
Ildar Kamalov
2019-02-01 16:52:59 +03:00
committed by Eugene Bujak
parent d42718465d
commit 1dd548c36c
4 changed files with 35 additions and 18 deletions

View File

@@ -63,7 +63,7 @@ export const isPositive = (value) => {
};
export const port = (value) => {
if (value < 80 || value > 65535) {
if (value && (value < 80 || value > 65535)) {
return <Trans>form_error_port_range</Trans>;
}
return false;