+ client: handle static IP while doing initial setup

This commit is contained in:
Ildar Kamalov
2020-01-30 18:26:54 +03:00
committed by Simon Zolin
parent 5c385521c4
commit cc2d953c9d
7 changed files with 119 additions and 31 deletions

View File

@@ -240,6 +240,13 @@ export const port = (value) => {
return undefined;
};
export const validInstallPort = (value) => {
if (value < 1 || value > 65535) {
return <Trans>form_error_port</Trans>;
}
return undefined;
};
export const portTLS = (value) => {
if (value === 0) {
return undefined;