From cde8d18a135aeb112b1c0847a0d83fb150821da1 Mon Sep 17 00:00:00 2001 From: Martin Gunnerud Date: Wed, 11 Dec 2024 14:00:28 +0100 Subject: [PATCH] fix after merge --- .../src/components/PolicyCardRules/PolicyRule/PolicyRule.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 && }