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