Skip to content

Commit

Permalink
Remove customField feature flag (#3080)
Browse files Browse the repository at this point in the history
Co-authored-by: Allison King <[email protected]>
  • Loading branch information
TheAndrewJackson and allisonking authored Apr 17, 2023
1 parent 5247091 commit 34df89a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ The types of changes are:

### Removed
- Removed the warning about access control migration [#3055](https://github.com/ethyca/fides/pull/3055)
- Remove `customFields` feature flag [#3080](https://github.com/ethyca/fides/pull/3080)

## [2.11.0](https://github.com/ethyca/fides/compare/2.10.0...2.11.0)

Expand Down
3 changes: 1 addition & 2 deletions clients/admin-ui/src/features/common/custom-fields/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ export const useCustomFields = ({
resourceType,
}: UseCustomFieldsOptions) => {
const { errorAlert, successAlert } = useAlert();
const { flags, plus } = useFeatures();
const isEnabled = flags.customFields && plus;
const { plus: isEnabled } = useFeatures();

// This keeps track of the fides key that was initially passed in. If that key started out blank,
// then we know the API call will just 404.
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 @@ -12,12 +12,6 @@
"production": false,
"test": false
},
"customFields": {
"description": "Custom fields can be added to many forms throughout Fides. You can create, show, and hide custom fields that you add to Fides at any time.",
"development": true,
"test": true,
"production": false
},
"organizationManagement": {
"description": "Management page to configure Organization details for RoPA reporting, messaging, etc.",
"development": true,
Expand Down

0 comments on commit 34df89a

Please sign in to comment.