NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
UI tweaks (#11940)
Nicolas Mowen9514a3d089d9
diff --git a/web/src/components/menu/GeneralSettings.tsx b/web/src/components/menu/GeneralSettings.tsxindex 0e3c38d652..baab171cc7 100644--- a/web/src/components/menu/GeneralSettings.tsx+++ b/web/src/components/menu/GeneralSettings.tsx@@ -67,6 +67,7 @@ import {} from "../ui/dialog";import { TooltipPortal } from "@radix-ui/react-tooltip";import { cn } from "@/lib/utils";+import { baseUrl } from "@/api/baseUrl";type GeneralSettingsProps = {className?: string;@@ -95,12 +96,12 @@ export default function GeneralSettings({ className }: GeneralSettingsProps) {useEffect(() => {if (countdown === 0) {- window.location.href = "/";+ window.location.href = baseUrl;}}, [countdown]);const handleForceReload = () => {- window.location.href = "/";+ window.location.href = baseUrl;};const Container = isDesktop ? DropdownMenu : Drawer;@@ -324,7 +325,7 @@ export default function GeneralSettings({ className }: GeneralSettingsProps) {Help</DropdownMenuLabel><DropdownMenuSeparator />- <a href="https://docs.frigate.video">+ <a href="https://docs.frigate.video" target="_blank"><MenuItemclassName={isDesktop ? "cursor-pointer" : "flex items-center p-2 text-sm"@@ -334,7 +335,10 @@ export default function GeneralSettings({ className }: GeneralSettingsProps) {<span>Documentation</span></MenuItem></a>- <a href="https://github.com/blakeblackshear/frigate">+ <a+ href="https://github.com/blakeblackshear/frigate"+ target="_blank"+ ><MenuItemclassName={isDesktop ? "cursor-pointer" : "flex items-center p-2 text-sm"diff --git a/web/src/pages/SubmitPlus.tsx b/web/src/pages/SubmitPlus.tsxindex bcc80630a2..b4c9f2d6fd 100644--- a/web/src/pages/SubmitPlus.tsx+++ b/web/src/pages/SubmitPlus.tsx@@ -83,6 +83,7 @@ export default function SubmitPlus() {limit: API_LIMIT,in_progress: 0,is_submitted: 0,+ has_snapshot: 1,cameras: selectedCameras ? selectedCameras.join(",") : null,labels: selectedLabels ? selectedLabels.join(",") : null,min_score: scoreRange ? scoreRange[0] : null,@@ -99,6 +100,7 @@ export default function SubmitPlus() {limit: 100,in_progress: 0,is_submitted: 0,+ has_snapshot: 1,cameras: selectedCameras ? selectedCameras.join(",") : null,labels: selectedLabels ? selectedLabels.join(",") : null,min_score: scoreRange ? scoreRange[0] : null,