moved setting

This commit is contained in:
Adrian 2025-01-25 15:40:14 -06:00
parent 21b458b59a
commit a67e44560d
1 changed files with 16 additions and 17 deletions

View File

@ -847,7 +847,18 @@ export default function SettingsSidebar() {
</div>
</div>
)}
{settings.developerMode && (
<SettingsItem
title="Troubleshooting Mode"
description="Diagnostic tools and additional controls for troubleshooting and development purposes"
>
<Checkbox
defaultChecked={settings.debugMode}
onChange={e => {
settings.setDebugMode(e.target.checked);
}}
/>
</SettingsItem>
{settings.debugMode && (
<SettingsItem
title="USB Configuration"
description="Set the USB Descriptors for the JetKVM"
@ -863,18 +874,6 @@ export default function SettingsSidebar() {
/>
</SettingsItem>
)}
<SettingsItem
title="Troubleshooting Mode"
description="Diagnostic tools and additional controls for troubleshooting and development purposes"
>
<Checkbox
defaultChecked={settings.debugMode}
onChange={e => {
settings.setDebugMode(e.target.checked);
}}
/>
</SettingsItem>
{settings.debugMode && (
<>
<SettingsItem