mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 05:35: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" />
|
||||
<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">
|
||||
Object Detection
|
||||
Debug
|
||||
</Heading>
|
||||
<div className="text-sm text-muted-foreground mb-5 space-y-3">
|
||||
<p>
|
||||
|
||||
@ -37,9 +37,9 @@ import scrollIntoView from "scroll-into-view-if-needed";
|
||||
export default function Settings() {
|
||||
const settingsViews = [
|
||||
"general",
|
||||
"objects",
|
||||
"masks / zones",
|
||||
"motion tuner",
|
||||
"debug",
|
||||
] as const;
|
||||
|
||||
type SettingsType = (typeof settingsViews)[number];
|
||||
@ -135,7 +135,7 @@ export default function Settings() {
|
||||
<ScrollBar orientation="horizontal" className="h-0" />
|
||||
</div>
|
||||
</ScrollArea>
|
||||
{(page == "objects" ||
|
||||
{(page == "debug" ||
|
||||
page == "masks / zones" ||
|
||||
page == "motion tuner") && (
|
||||
<div className="flex items-center gap-2 ml-2 flex-shrink-0">
|
||||
@ -155,9 +155,7 @@ export default function Settings() {
|
||||
</div>
|
||||
<div className="mt-2 flex flex-col items-start w-full h-full md:h-dvh md:pb-24">
|
||||
{page == "general" && <General />}
|
||||
{page == "objects" && (
|
||||
<ObjectSettings selectedCamera={selectedCamera} />
|
||||
)}
|
||||
{page == "debug" && <ObjectSettings selectedCamera={selectedCamera} />}
|
||||
{page == "masks / zones" && (
|
||||
<MasksAndZones
|
||||
selectedCamera={selectedCamera}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user