mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 00:52:17 +03:00
add switches widgets and use friendly names
This commit is contained in:
@@ -264,7 +264,7 @@ const CameraConfigContent = memo(function CameraConfigContent({
|
||||
<button
|
||||
onClick={() => setActiveSection(section.key)}
|
||||
className={cn(
|
||||
"flex w-full items-center justify-between rounded-md px-3 py-2 text-sm transition-colors",
|
||||
"flex w-full items-center justify-between rounded-md px-3 py-2 text-left text-sm transition-colors",
|
||||
activeSection === section.key
|
||||
? "bg-accent text-accent-foreground"
|
||||
: "hover:bg-muted",
|
||||
|
||||
@@ -414,7 +414,7 @@ export default function GlobalConfigView() {
|
||||
<button
|
||||
onClick={() => setActiveSection(section.key)}
|
||||
className={cn(
|
||||
"flex w-full items-center justify-between rounded-md px-3 py-2 text-sm transition-colors",
|
||||
"flex w-full items-center justify-between rounded-md px-3 py-2 text-left text-sm transition-colors",
|
||||
activeSection === section.key
|
||||
? "bg-accent text-accent-foreground"
|
||||
: "hover:bg-muted",
|
||||
|
||||
Reference in New Issue
Block a user