BUG: Wifi configuration

This commit is contained in:
Robin Davies
2022-03-12 17:20:02 -05:00
parent cd56f7f71a
commit 7919c08b79
4 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{
"socket_server_port": 80,
"socket_server_port": 8080,
"socket_server_address": "*",
"debug": true,
"max_upload_size": 1048576,
+3
View File
@@ -194,6 +194,9 @@ const WifiConfigDialog = withStyles(styles, { withTheme: true })(
wifiConfigSettings.enable = this.state.enabled;
wifiConfigSettings.hotspotName = this.state.name;
wifiConfigSettings.countryCode = this.state.countryCode;
wifiConfigSettings.channel = this.state.channel;
if (this.state.newPassword.length === 0 || !this.state.enabled)
{
wifiConfigSettings.hasPassword = false;
+1 -1
View File
@@ -33,7 +33,7 @@ export default class WifiConfigSettings {
return this;
}
clone() : WifiConfigSettings {
return this.deserialize(this);
return new WifiConfigSettings().deserialize(this);
}
valid: boolean = true;
wifiWarningGiven: boolean = false;