foris 6.10.0-beta.ab5058ee → 6.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -91,7 +91,6 @@ function DeviceForm({
91
91
  }) {
92
92
  const deviceID = formData.id;
93
93
  const bnds = formData.available_bands;
94
-
95
94
  return (
96
95
  <>
97
96
  <Switch
@@ -221,27 +220,24 @@ function DeviceForm({
221
220
  {...props}
222
221
  />
223
222
 
224
- {formData.band !== "6g" &&
225
- (formData.encryption === "WPA3" ||
226
- formData.encryption === "WPA2/3") && (
227
- <Switch
228
- label={_("Disable Management Frame Protection")}
229
- helpText={_(
230
- "In case you have trouble connecting to WiFi Access Point, try disabling Management Frame Protection."
231
- )}
232
- checked={formData.ieee80211w_disabled}
233
- onChange={setFormValue((value) => ({
234
- devices: {
235
- [deviceIndex]: {
236
- ieee80211w_disabled: {
237
- $set: value,
238
- },
239
- },
223
+ {(formData.encryption === "WPA3" ||
224
+ formData.encryption === "WPA2/3") && (
225
+ <Switch
226
+ label={_("Disable Management Frame Protection")}
227
+ helpText={_(
228
+ "In case you have trouble connecting to WiFi Access Point, try disabling Management Frame Protection."
229
+ )}
230
+ checked={formData.ieee80211w_disabled}
231
+ onChange={setFormValue((value) => ({
232
+ devices: {
233
+ [deviceIndex]: {
234
+ ieee80211w_disabled: { $set: value },
240
235
  },
241
- }))}
242
- {...props}
243
- />
244
- )}
236
+ },
237
+ }))}
238
+ {...props}
239
+ />
240
+ )}
245
241
 
246
242
  {hasGuestNetwork && (
247
243
  <WifiGuestForm
@@ -306,10 +302,5 @@ function getEncryptionChoices(device) {
306
302
  if (device.encryption === "custom") {
307
303
  ENCRYPTIONMODES.custom = _("Custom");
308
304
  }
309
- if (device.band === "6g") {
310
- return {
311
- WPA3: ENCRYPTIONMODES.WPA3,
312
- };
313
- }
314
305
  return ENCRYPTIONMODES;
315
306
  }
package/foris-6.10.0.tgz CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foris",
3
- "version": "6.10.0-beta.ab5058ee",
3
+ "version": "6.10.0",
4
4
  "description": "Foris JS library is a set of components and utils for reForis application and plugins.",
5
5
  "author": "CZ.NIC, z.s.p.o.",
6
6
  "repository": {