CreateImageWizard: unleash flag for oscap profile
Switch the hook used to get the flags for the OpenSCAPProfileInformation component.
This commit is contained in:
parent
7ce8695fdf
commit
12a2649198
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,6 @@ import {
|
|||
TextListItemVariants,
|
||||
TextListVariants,
|
||||
} from '@patternfly/react-core';
|
||||
import { useFlag } from '@unleash/proxy-client-react';
|
||||
|
||||
import { RELEASES } from '../../../../constants';
|
||||
import { PolicyRead, usePolicyQuery } from '../../../../store/complianceApi';
|
||||
|
|
@ -25,6 +24,7 @@ import {
|
|||
selectComplianceProfileID,
|
||||
selectDistribution,
|
||||
} from '../../../../store/wizardSlice';
|
||||
import { useFlag } from '../../../../Utilities/useGetEnvironment';
|
||||
|
||||
type OscapProfileInformationOptionPropType = {
|
||||
allowChangingCompliancePolicy?: boolean;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue