From 56f2101df856eecf57a85917d8c0e505b71d595b Mon Sep 17 00:00:00 2001 From: kwasniew Date: Tue, 22 Oct 2024 15:24:59 +0200 Subject: [PATCH] fix: enable nav sidebar for previous uis --- src/lib/types/experimental.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index ef02b72bc5a7..defd86a4a630 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -62,7 +62,8 @@ export type IFlagKey = | 'unleashAI' | 'webhookDomainLogging' | 'addonUsageMetrics' - | 'releasePlans'; + | 'releasePlans' + | 'navigationSidebar'; export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>; @@ -311,6 +312,10 @@ const flags: IFlags = { process.env.UNLEASH_EXPERIMENTAL_RELEASE_PLANS, false, ), + navigationSidebar: parseEnvVarBoolean( + process.env.UNLEASH_EXPERIMENTAL_SIDEBAR_NAVIGATION, + true, + ), }; export const defaultExperimentalOptions: IExperimentalOptions = {