From 73a3bdc0bea29cd81c1eff432ff02f5cf21877f4 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Tue, 13 May 2025 13:56:24 +0200 Subject: [PATCH] ui: flip vis toggle --- frontend/app/PrivateRoutes.tsx | 5 +++-- frontend/app/utils/split-utils.ts | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/app/PrivateRoutes.tsx b/frontend/app/PrivateRoutes.tsx index d72d67368..491ac8f13 100644 --- a/frontend/app/PrivateRoutes.tsx +++ b/frontend/app/PrivateRoutes.tsx @@ -10,6 +10,7 @@ import { Loader } from 'UI'; import APIClient from './api_client'; import * as routes from './routes'; import { debounceCall } from '@/utils'; +import { hasAi } from './utils/split-utils'; const components: any = { SessionPure: lazy(() => import('Components/Session/Session')), @@ -273,12 +274,12 @@ function PrivateRoutes() { path={withSiteId(LIVE_SESSION_PATH, siteIdList)} component={enhancedComponents.LiveSession} /> - + /> : null} {Object.entries(routes.redirects).map(([fr, to]) => ( ))} diff --git a/frontend/app/utils/split-utils.ts b/frontend/app/utils/split-utils.ts index 3960ccd4d..bb0b27971 100644 --- a/frontend/app/utils/split-utils.ts +++ b/frontend/app/utils/split-utils.ts @@ -2,4 +2,4 @@ * can be overwritten in saas or ee editions * */ -export const hasAi = true //DEBUG false; +export const hasAi = false;