mirror of https://github.com/jetkvm/kvm.git
moved setting
This commit is contained in:
parent
21b458b59a
commit
a67e44560d
|
@ -847,22 +847,6 @@ export default function SettingsSidebar() {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{settings.developerMode && (
|
|
||||||
<SettingsItem
|
|
||||||
title="USB Configuration"
|
|
||||||
description="Set the USB Descriptors for the JetKVM"
|
|
||||||
>
|
|
||||||
<Button
|
|
||||||
size="SM"
|
|
||||||
theme="light"
|
|
||||||
text="Update USB Config"
|
|
||||||
onClick={() => {
|
|
||||||
setUsbConfigModalView("updateUsbConfig")
|
|
||||||
setIsUsbConfigDialogOpen(true);
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</SettingsItem>
|
|
||||||
)}
|
|
||||||
<SettingsItem
|
<SettingsItem
|
||||||
title="Troubleshooting Mode"
|
title="Troubleshooting Mode"
|
||||||
description="Diagnostic tools and additional controls for troubleshooting and development purposes"
|
description="Diagnostic tools and additional controls for troubleshooting and development purposes"
|
||||||
|
@ -874,7 +858,22 @@ export default function SettingsSidebar() {
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</SettingsItem>
|
</SettingsItem>
|
||||||
|
{settings.debugMode && (
|
||||||
|
<SettingsItem
|
||||||
|
title="USB Configuration"
|
||||||
|
description="Set the USB Descriptors for the JetKVM"
|
||||||
|
>
|
||||||
|
<Button
|
||||||
|
size="SM"
|
||||||
|
theme="light"
|
||||||
|
text="Update USB Config"
|
||||||
|
onClick={() => {
|
||||||
|
setUsbConfigModalView("updateUsbConfig")
|
||||||
|
setIsUsbConfigDialogOpen(true);
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</SettingsItem>
|
||||||
|
)}
|
||||||
{settings.debugMode && (
|
{settings.debugMode && (
|
||||||
<>
|
<>
|
||||||
<SettingsItem
|
<SettingsItem
|
||||||
|
|
Loading…
Reference in New Issue