From 92a0705b03af84f7751b95ee2b2caa8a68ae4320 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 5 Feb 2024 17:55:08 -0600 Subject: [PATCH] show version in production builds (#9602) --- 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 +
+ )}