cleanup
This commit is contained in:
@@ -129,8 +129,6 @@ export const Security = (): JSX.Element => {
|
|||||||
publicKey: publicKey,
|
publicKey: publicKey,
|
||||||
adminChannelEnabled: config.security?.adminChannelEnabled ?? false,
|
adminChannelEnabled: config.security?.adminChannelEnabled ?? false,
|
||||||
isManaged: config.security?.isManaged ?? false,
|
isManaged: config.security?.isManaged ?? false,
|
||||||
bluetoothLoggingEnabled:
|
|
||||||
config.security?.bluetoothLoggingEnabled ?? false,
|
|
||||||
debugLogApiEnabled: config.security?.debugLogApiEnabled ?? false,
|
debugLogApiEnabled: config.security?.debugLogApiEnabled ?? false,
|
||||||
serialEnabled: config.security?.serialEnabled ?? false,
|
serialEnabled: config.security?.serialEnabled ?? false,
|
||||||
},
|
},
|
||||||
@@ -206,30 +204,28 @@ export const Security = (): JSX.Element => {
|
|||||||
value: adminKey,
|
value: adminKey,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
],
|
||||||
],
|
},
|
||||||
},
|
{
|
||||||
{
|
label: "Logging Settings",
|
||||||
label: "Logging Settings",
|
description: "Settings for Logging",
|
||||||
description: "Settings for Logging",
|
fields: [
|
||||||
fields: [
|
{
|
||||||
{
|
type: "toggle",
|
||||||
type: "toggle",
|
name: "debugLogApiEnabled",
|
||||||
name: "debugLogApiEnabled",
|
label: "Enable Debug Log API",
|
||||||
label: "Enable Debug Log API",
|
description: "Output live debug logging over serial, view and export position-redacted device logs over Bluetooth",
|
||||||
description:
|
},
|
||||||
"Output live debug logging over serial, view and export position-redacted device logs over Bluetooth",
|
{
|
||||||
},
|
type: "toggle",
|
||||||
{
|
name: "serialEnabled",
|
||||||
type: "toggle",
|
label: "Serial Output Enabled",
|
||||||
name: "serialEnabled",
|
description: "Serial Console over the Stream API",
|
||||||
label: "Enable Serial Output",
|
},
|
||||||
description: "Serial Console over the Stream API",
|
],
|
||||||
},
|
},
|
||||||
],
|
]}
|
||||||
},
|
/>
|
||||||
]}
|
|
||||||
/>
|
|
||||||
<PkiRegenerateDialog
|
<PkiRegenerateDialog
|
||||||
open={dialogOpen}
|
open={dialogOpen}
|
||||||
onOpenChange={() => setDialogOpen(false)}
|
onOpenChange={() => setDialogOpen(false)}
|
||||||
|
|||||||
Reference in New Issue
Block a user