mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
rename to debug
This commit is contained in:
parent
13d63d2096
commit
36737d096d
@ -112,7 +112,7 @@ export default function ObjectSettings({
|
|||||||
<Toaster position="top-center" />
|
<Toaster position="top-center" />
|
||||||
<div className="flex flex-col h-full w-full overflow-y-auto mt-2 md:mt-0 mb-10 md:mb-0 md:w-3/12 order-last md:order-none md:mr-2 rounded-lg border-secondary-foreground border-[1px] p-2 bg-background_alt">
|
<div className="flex flex-col h-full w-full overflow-y-auto mt-2 md:mt-0 mb-10 md:mb-0 md:w-3/12 order-last md:order-none md:mr-2 rounded-lg border-secondary-foreground border-[1px] p-2 bg-background_alt">
|
||||||
<Heading as="h3" className="my-2">
|
<Heading as="h3" className="my-2">
|
||||||
Object Detection
|
Debug
|
||||||
</Heading>
|
</Heading>
|
||||||
<div className="text-sm text-muted-foreground mb-5 space-y-3">
|
<div className="text-sm text-muted-foreground mb-5 space-y-3">
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@ -37,9 +37,9 @@ import scrollIntoView from "scroll-into-view-if-needed";
|
|||||||
export default function Settings() {
|
export default function Settings() {
|
||||||
const settingsViews = [
|
const settingsViews = [
|
||||||
"general",
|
"general",
|
||||||
"objects",
|
|
||||||
"masks / zones",
|
"masks / zones",
|
||||||
"motion tuner",
|
"motion tuner",
|
||||||
|
"debug",
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
type SettingsType = (typeof settingsViews)[number];
|
type SettingsType = (typeof settingsViews)[number];
|
||||||
@ -135,7 +135,7 @@ export default function Settings() {
|
|||||||
<ScrollBar orientation="horizontal" className="h-0" />
|
<ScrollBar orientation="horizontal" className="h-0" />
|
||||||
</div>
|
</div>
|
||||||
</ScrollArea>
|
</ScrollArea>
|
||||||
{(page == "objects" ||
|
{(page == "debug" ||
|
||||||
page == "masks / zones" ||
|
page == "masks / zones" ||
|
||||||
page == "motion tuner") && (
|
page == "motion tuner") && (
|
||||||
<div className="flex items-center gap-2 ml-2 flex-shrink-0">
|
<div className="flex items-center gap-2 ml-2 flex-shrink-0">
|
||||||
@ -155,9 +155,7 @@ export default function Settings() {
|
|||||||
</div>
|
</div>
|
||||||
<div className="mt-2 flex flex-col items-start w-full h-full md:h-dvh md:pb-24">
|
<div className="mt-2 flex flex-col items-start w-full h-full md:h-dvh md:pb-24">
|
||||||
{page == "general" && <General />}
|
{page == "general" && <General />}
|
||||||
{page == "objects" && (
|
{page == "debug" && <ObjectSettings selectedCamera={selectedCamera} />}
|
||||||
<ObjectSettings selectedCamera={selectedCamera} />
|
|
||||||
)}
|
|
||||||
{page == "masks / zones" && (
|
{page == "masks / zones" && (
|
||||||
<MasksAndZones
|
<MasksAndZones
|
||||||
selectedCamera={selectedCamera}
|
selectedCamera={selectedCamera}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user