Skip to content

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

chore: add feature flag to logs explorer

Jonathan Summers-Muire1126c787fe1
diff --git a/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx
index b2a72024bef..0445fd58d55 100644
--- a/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx
+++ b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx
@@ -79,8 +79,10 @@ export const generateProductRoutes = (ref: string): Route[] => {
}
export const generateOtherRoutes = (ref: string) => {
+ const logsExplorerPreviewers = useFlag('logsExplorerPreviewers')
+
return [
- ...(IS_PLATFORM
+ ...(IS_PLATFORM && logsExplorerPreviewers
? [
{
key: 'logsExplorer',