Danswer EE Version Text (#12)

This commit is contained in:
Yuhong Sun 2023-11-03 19:19:20 -07:00 committed by Chris Weaver
parent b4683dc841
commit 529f2c8c2d

View File

@ -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 () => {
</div>
<div>
<p className="font-bold text-lg my-auto mb-2">Danswer MIT</p>
<p className="font-bold text-lg my-auto mb-2">
{EE_ENABLED ? "Danswer Enterprise Edition" : "Danswer MIT"}
</p>
<div className="flex mb-2">
<p className="my-auto mr-1">Backend Version: </p>
<p className="text-base my-auto text-slate-400 italic">