Skip to content

Commit

Permalink
remove feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jpople committed Jan 12, 2024
1 parent 6a9f8d3 commit 290c4bc
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion clients/admin-ui/src/features/common/nav/v2/nav-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ export const NAV_CONFIG: NavConfigGroup[] = [
{
title: "Vendors",
path: routes.CONFIGURE_CONSENT_ROUTE,
requiresFlag: "configureConsent",
requiresPlus: true,
scopes: [ScopeRegistryEnum.PRIVACY_NOTICE_READ],
},
Expand Down
6 changes: 0 additions & 6 deletions clients/admin-ui/src/flags.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@
"test": true,
"production": false
},
"configureConsent": {
"description": "Page to configure vendors and cookies for consent",
"development": true,
"test": true,
"production": false
},
"standaloneConnections": {
"description": "Allow the creation of standalone connections for testing",
"development": true,
Expand Down
1 change: 0 additions & 1 deletion clients/admin-ui/src/home/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ export const MODULE_CARD_ITEMS: ModuleCardConfig[] = [
sortOrder: 5,
title: "MC",
scopes: [ScopeRegistryEnum.PRIVACY_NOTICE_READ],
requiresFlag: "configureConsent",
requiresPlus: true,
},
];
2 changes: 1 addition & 1 deletion clients/admin-ui/src/home/tile-config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ describe("configureTiles", () => {
const tiles = configureTiles({
config: MODULE_CARD_ITEMS,
userScopes: [ScopeRegistryEnum.PRIVACY_NOTICE_READ],
flags: { configureConsent: true },
flags: {},
hasPlus: true,
});
expect(tiles.map((t) => t.name)).toEqual(["Manage consent"]);
Expand Down

0 comments on commit 290c4bc

Please sign in to comment.