mirror of https://github.com/jetkvm/kvm.git
prettifying
This commit is contained in:
parent
e9096c36f7
commit
03fd7508de
|
@ -636,8 +636,7 @@ export default function SettingsSidebar() {
|
||||||
|
|
||||||
<GridCard>
|
<GridCard>
|
||||||
<div className="flex items-start p-4 gap-x-4">
|
<div className="flex items-start p-4 gap-x-4">
|
||||||
<ShieldCheckIcon
|
<ShieldCheckIcon className="w-8 h-8 mt-1 text-blue-600 shrink-0 dark:text-blue-500" />
|
||||||
className="w-8 h-8 mt-1 text-blue-600 shrink-0 dark:text-blue-500"/>
|
|
||||||
<div className="space-y-3">
|
<div className="space-y-3">
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
<h3 className="text-base font-bold text-slate-900 dark:text-white">
|
<h3 className="text-base font-bold text-slate-900 dark:text-white">
|
||||||
|
@ -915,9 +914,7 @@ export default function SettingsSidebar() {
|
||||||
theme="primary"
|
theme="primary"
|
||||||
text="Update USB Config"
|
text="Update USB Config"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (Object.values(usbConfig).every(function (i) {
|
if (Object.values(usbConfig).every(function(i) { return Boolean(i); })) {
|
||||||
return Boolean(i);
|
|
||||||
})) {
|
|
||||||
handleUsbConfigChange(usbConfig);
|
handleUsbConfigChange(usbConfig);
|
||||||
notifications.success("Successfully updated USB Config")
|
notifications.success("Successfully updated USB Config")
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue