mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-27 01:19:00 +02:00
chore: Add flag for add/edit strategies (#9699)
Adds a flag for the edd/edit strategies updates.
This commit is contained in:
parent
2748ced8e2
commit
6b5c29a6e6
@ -91,6 +91,7 @@ export type UiFlags = {
|
||||
adminNavUI?: boolean;
|
||||
tagTypeColor?: boolean;
|
||||
globalChangeRequestConfig?: boolean;
|
||||
addEditStrategy?: boolean;
|
||||
newStrategyDropdown?: boolean;
|
||||
};
|
||||
|
||||
|
@ -65,6 +65,7 @@ export type IFlagKey =
|
||||
| 'adminNavUI'
|
||||
| 'tagTypeColor'
|
||||
| 'globalChangeRequestConfig'
|
||||
| 'addEditStrategy'
|
||||
| 'newStrategyDropdown';
|
||||
|
||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||
@ -310,6 +311,10 @@ const flags: IFlags = {
|
||||
process.env.UNLEASH_EXPERIMENTAL_GLOBAL_CHANGE_REQUEST_CONFIG,
|
||||
false,
|
||||
),
|
||||
addEditStrategy: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_ADD_EDIT_STRATEGY,
|
||||
false,
|
||||
),
|
||||
newStrategyDropdown: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_NEW_STRATEGY_DROPDOWN,
|
||||
false,
|
||||
|
@ -59,6 +59,7 @@ process.nextTick(async () => {
|
||||
adminNavUI: true,
|
||||
tagTypeColor: true,
|
||||
newStrategyDropdown: true,
|
||||
addEditStrategy: true,
|
||||
},
|
||||
},
|
||||
authentication: {
|
||||
|
Loading…
Reference in New Issue
Block a user