diff --git a/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyRule.tsx b/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyRule.tsx index 724f8c9d28f..4a306fc9e79 100644 --- a/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyRule.tsx +++ b/frontend/packages/policy-editor/src/components/PolicyCardRules/PolicyRule/PolicyRule.tsx @@ -13,7 +13,7 @@ import { getNewRuleId } from '../../../utils'; import { usePolicyEditorContext } from '../../../contexts/PolicyEditorContext'; import { ObjectUtils } from '@studio/pure-functions'; import { PolicyAccessPackages } from './PolicyAccessPackages'; -import { shouldDisplayFeature } from 'app-shared/utils/featureToggleUtils'; +import { FeatureFlag, shouldDisplayFeature } from 'app-shared/utils/featureToggleUtils'; export type PolicyRuleProps = { policyRule: PolicyRuleCard; @@ -85,7 +85,7 @@ export const PolicyRule = ({ - {shouldDisplayFeature('accessPackages') && } + {shouldDisplayFeature(FeatureFlag.AccessPackages) && } {showErrors && }