Update setting is working

Adjust the ui

Adjust description
This commit is contained in:
Owen
2026-05-21 16:21:23 -07:00
parent 6d4afd0953
commit 4530aac4f3
5 changed files with 85 additions and 71 deletions

View File

@@ -45,7 +45,16 @@ export function SwitchInput({
return (
<div>
<div className="flex items-center space-x-2 mb-2">
{label && <Label htmlFor={id}>{label}</Label>}
{label && (
<Label
htmlFor={id}
className={
disabled ? "opacity-50 cursor-not-allowed" : ""
}
>
{label}
</Label>
)}
<Switch
id={id}
checked={checked}