From 4e623a854dd0c12cfe78c917dc6e938f722afc62 Mon Sep 17 00:00:00 2001 From: Sokratis Vidros Date: Fri, 8 Nov 2024 12:07:21 +0200 Subject: [PATCH] fix(web): Trigger NewDashboardOptInWidget only in Novu Cloud --- apps/web/src/components/nav/RootNavMenu.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/nav/RootNavMenu.tsx b/apps/web/src/components/nav/RootNavMenu.tsx index fe74056496a..b87b8fb3463 100644 --- a/apps/web/src/components/nav/RootNavMenu.tsx +++ b/apps/web/src/components/nav/RootNavMenu.tsx @@ -32,7 +32,7 @@ import { VisibilityButton } from './VisibilityButton'; import { FreeTrialSidebarWidget } from '../layout/components/FreeTrialSidebarWidget'; import { parseUrl } from '../../utils/routeUtils'; import { OrganizationSwitcher } from '../../ee/clerk'; -import { IS_EE_AUTH_ENABLED } from '../../config/index'; +import { IS_SELF_HOSTED, IS_EE_AUTH_ENABLED } from '../../config/index'; import { useFeatureFlag } from '../../hooks/useFeatureFlag'; import { When } from '../utils/When'; import { SidebarFooter } from '../layout/components/LocalStudioSidebar/SidebarFooter'; @@ -162,7 +162,7 @@ export const RootNavMenu: React.FC = () => { {isV2Enabled ? ( <> - + {!IS_SELF_HOSTED && IS_EE_AUTH_ENABLED && } Open Local Studio