From 529f2c8c2d409115cd4655e6aadbc469778b1c41 Mon Sep 17 00:00:00 2001 From: Yuhong Sun Date: Fri, 3 Nov 2023 19:19:20 -0700 Subject: [PATCH] Danswer EE Version Text (#12) --- web/src/app/admin/systeminfo/page.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/src/app/admin/systeminfo/page.tsx b/web/src/app/admin/systeminfo/page.tsx index 3ee5fc0c34b..9719671272b 100644 --- a/web/src/app/admin/systeminfo/page.tsx +++ b/web/src/app/admin/systeminfo/page.tsx @@ -1,5 +1,6 @@ import { NotebookIcon } from "@/components/icons/icons"; import { getWebVersion, getBackendVersion } from "@/lib/version"; +import { EE_ENABLED } from "@/lib/constants"; const Page = async () => { let web_version: string | null = null; @@ -21,7 +22,9 @@ const Page = async () => {
-

Danswer MIT

+

+ {EE_ENABLED ? "Danswer Enterprise Edition" : "Danswer MIT"} +

Backend Version: