From 09cc18a7a8e855d81a59ae315f46aea99ed17cc3 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Fri, 2 Feb 2024 10:04:26 -0600 Subject: [PATCH] show version in production builds --- web/src/components/Header.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/src/components/Header.tsx b/web/src/components/Header.tsx index 0ca8350c9..6fff81e44 100644 --- a/web/src/components/Header.tsx +++ b/web/src/components/Header.tsx @@ -56,6 +56,7 @@ import { } from "./ui/sheet"; import ActivityIndicator from "./ui/activity-indicator"; import { useRestart } from "@/api/ws"; +import { ENV } from "@/env"; type HeaderProps = { onToggleNavbar: () => void; @@ -111,6 +112,11 @@ function Header({ onToggleNavbar }: HeaderProps) { Frigate + {ENV == "production" && ( +
+ 0.14 unstable +
+ )}