From c2f2205626e220c511d59c04a68c6c546352a515 Mon Sep 17 00:00:00 2001 From: Hunter Thornsberry Date: Mon, 9 Sep 2024 18:25:58 -0400 Subject: [PATCH] cleanup --- .../PageComponents/Config/Security.tsx | 48 +++++++++---------- 1 file changed, 22 insertions(+), 26 deletions(-) diff --git a/src/components/PageComponents/Config/Security.tsx b/src/components/PageComponents/Config/Security.tsx index 94e5b26b..8ad0345b 100644 --- a/src/components/PageComponents/Config/Security.tsx +++ b/src/components/PageComponents/Config/Security.tsx @@ -129,8 +129,6 @@ export const Security = (): JSX.Element => { publicKey: publicKey, adminChannelEnabled: config.security?.adminChannelEnabled ?? false, isManaged: config.security?.isManaged ?? false, - bluetoothLoggingEnabled: - config.security?.bluetoothLoggingEnabled ?? false, debugLogApiEnabled: config.security?.debugLogApiEnabled ?? false, serialEnabled: config.security?.serialEnabled ?? false, }, @@ -206,30 +204,28 @@ export const Security = (): JSX.Element => { value: adminKey, }, }, - }, - ], - }, - { - label: "Logging Settings", - description: "Settings for Logging", - fields: [ - { - type: "toggle", - name: "debugLogApiEnabled", - label: "Enable Debug Log API", - description: - "Output live debug logging over serial, view and export position-redacted device logs over Bluetooth", - }, - { - type: "toggle", - name: "serialEnabled", - label: "Enable Serial Output", - description: "Serial Console over the Stream API", - }, - ], - }, - ]} - /> + ], + }, + { + label: "Logging Settings", + description: "Settings for Logging", + fields: [ + { + type: "toggle", + name: "debugLogApiEnabled", + label: "Enable Debug Log API", + description: "Output live debug logging over serial, view and export position-redacted device logs over Bluetooth", + }, + { + type: "toggle", + name: "serialEnabled", + label: "Serial Output Enabled", + description: "Serial Console over the Stream API", + }, + ], + }, + ]} + /> setDialogOpen(false)}