mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-10 01:16:39 +02:00
fix: enable nav sidebar for previous uis (#8508)
This commit is contained in:
parent
15f55c7662
commit
1abc330a85
@ -62,7 +62,8 @@ export type IFlagKey =
|
|||||||
| 'unleashAI'
|
| 'unleashAI'
|
||||||
| 'webhookDomainLogging'
|
| 'webhookDomainLogging'
|
||||||
| 'addonUsageMetrics'
|
| 'addonUsageMetrics'
|
||||||
| 'releasePlans';
|
| 'releasePlans'
|
||||||
|
| 'navigationSidebar';
|
||||||
|
|
||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||||
|
|
||||||
@ -311,6 +312,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_EXPERIMENTAL_RELEASE_PLANS,
|
process.env.UNLEASH_EXPERIMENTAL_RELEASE_PLANS,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
navigationSidebar: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_SIDEBAR_NAVIGATION,
|
||||||
|
true,
|
||||||
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||||
|
Loading…
Reference in New Issue
Block a user