Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

unified logs: rm org plan check (#38002)

Jordi Enrica9a5c4ef2c05
diff --git a/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx b/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx
index 83e3e51a1ac..d315326a6ba 100644
--- a/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx
+++ b/apps/studio/components/layouts/LogsLayout/LogsSidebarMenuV2.tsx
@@ -115,11 +115,6 @@ export function LogsSidebarMenuV2() {
const { plan: orgPlan, isLoading: isOrgPlanLoading } = useCurrentOrgPlan()
const isFreePlan = !isOrgPlanLoading && orgPlan?.id === 'free'
- const isUnifiedLogsPreviewAvailable =
- unifiedLogsFlagEnabled &&
- !isOrgPlanLoading &&
- ['team', 'enterprise'].includes(orgPlan?.id ?? '')
-
const { data: savedQueriesRes, isLoading: savedQueriesLoading } = useContentQuery({
projectRef: ref,
type: 'log_sql',
@@ -234,7 +229,7 @@ export function LogsSidebarMenuV2() {
return (
<div className="pb-12 relative">
- {IS_PLATFORM && !isUnifiedLogsPreviewAvailable && (
+ {IS_PLATFORM && !unifiedLogsFlagEnabled && (
<FeaturePreviewSidebarPanel
className="mx-4 mt-4"
illustration={<Badge variant="default">Coming soon</Badge>}
@@ -249,7 +244,7 @@ export function LogsSidebarMenuV2() {
}
/>
)}
- {isUnifiedLogsPreviewAvailable && (
+ {unifiedLogsFlagEnabled && (
<FeaturePreviewSidebarPanel
className="mx-4 mt-4"
title="New Logs Interface"