mirror of https://github.com/jetkvm/kvm.git
moved setting
This commit is contained in:
parent
21b458b59a
commit
a67e44560d
|
@ -847,7 +847,18 @@ export default function SettingsSidebar() {
|
||||||
</div>
|
</div>
|
||||||
</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
|
<SettingsItem
|
||||||
title="USB Configuration"
|
title="USB Configuration"
|
||||||
description="Set the USB Descriptors for the JetKVM"
|
description="Set the USB Descriptors for the JetKVM"
|
||||||
|
@ -863,18 +874,6 @@ export default function SettingsSidebar() {
|
||||||
/>
|
/>
|
||||||
</SettingsItem>
|
</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 && (
|
{settings.debugMode && (
|
||||||
<>
|
<>
|
||||||
<SettingsItem
|
<SettingsItem
|
||||||
|
|
Loading…
Reference in New Issue