Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(ui): include NEXT_PUBLIC_DEMO_ORG_ID in demo banner check

Marc Klingen315d8c7619ef
diff --git a/web/src/components/layouts/layout.tsx b/web/src/components/layouts/layout.tsx
index 6d0576dc4a..c921b19b85 100644
--- a/web/src/components/layouts/layout.tsx
+++ b/web/src/components/layouts/layout.tsx
@@ -511,7 +511,8 @@ export default function Layout(props: PropsWithChildren) {
</Menu>
</div>
<div className="lg:pl-56">
- {env.NEXT_PUBLIC_DEMO_PROJECT_ID &&
+ {env.NEXT_PUBLIC_DEMO_ORG_ID &&
+ env.NEXT_PUBLIC_DEMO_PROJECT_ID &&
routerProjectId === env.NEXT_PUBLIC_DEMO_PROJECT_ID &&
Boolean(env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION) ? (
<div className="flex w-full items-center border-b border-dark-yellow bg-light-yellow px-4 py-2 lg:sticky lg:top-0 lg:z-40">