diff --git a/packages/unleash-frontend-next/mock-api.json b/packages/unleash-frontend-next/mock-api.json index 18ac7346df..0bc4ee1726 100644 --- a/packages/unleash-frontend-next/mock-api.json +++ b/packages/unleash-frontend-next/mock-api.json @@ -11,9 +11,7 @@ "name": "default", "parameters": {} } - ], - "strategy": "default", - "parameters": {} + ] }, { "name": "Feature.B", @@ -32,11 +30,44 @@ "percentage": "10" } } - ], - "strategy": "ActiveForUserWithId", - "parameters": { - "userIdList": "123,221,998" - } + ] + }, + { + "name": "Feature.C", + "description": "lorem ipsum", + "enabled": false, + "strategies": [ + { + "name": "default", + "parameters": {} + } + ] + }, + { + "name": "Feature.D", + "description": "lorem ipsum", + "enabled": true, + "strategies": [ + { + "name": "default", + "parameters": {} + } + ] + }, + { + "name": "Feature.E", + "description": "lorem ipsum", + "enabled": true, + "strategies": [ + { + "name": "default", + "parameters": {} + }, + { + "name": "FancyStrat", + "parameters": {} + } + ] } ] } diff --git a/packages/unleash-frontend-next/src/component/feature/AddFeatureToggle.jsx b/packages/unleash-frontend-next/src/component/feature/AddFeatureToggle.jsx index 97c30c802d..13e026bdb6 100644 --- a/packages/unleash-frontend-next/src/component/feature/AddFeatureToggle.jsx +++ b/packages/unleash-frontend-next/src/component/feature/AddFeatureToggle.jsx @@ -64,14 +64,13 @@ class AddFeatureToggle extends React.Component {
- Strategies -

-