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',