Added button to reset encryption settings
This commit is contained in:
committed by
Eugene Bujak
parent
d42718465d
commit
1dd548c36c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user