CreateImageWizard: unleash flag for oscap profile

Switch the hook used to get the flags for the OpenSCAPProfileInformation
component.
This commit is contained in:
Gianluca Zuccarelli 2025-03-10 10:06:00 +00:00 committed by Lucas Garfield
parent 7ce8695fdf
commit 12a2649198

View file

@ -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;