From 4c4b91e83e6bdee4d271f45025b4d8dbcd47779e Mon Sep 17 00:00:00 2001 From: Jonathan Summers-Muir Date: Tue, 29 Mar 2022 13:41:39 +0200 Subject: [PATCH] chore: add feature flag to logs explorer --- .../ProjectLayout/NavigationBar/NavigationBar.utils.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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',