1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: enable nav sidebar for previous uis (#8508)

This commit is contained in:
Mateusz Kwasniewski 2024-10-22 15:31:25 +02:00 committed by GitHub
parent 15f55c7662
commit 1abc330a85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = {