Wizard: add compliance step to the wizard
The title is changed depending on the flag, to make it easier to change the IQE tests.
This commit is contained in:
parent
e43357bf55
commit
0908cd2ae9
1 changed files with 4 additions and 1 deletions
|
|
@ -150,7 +150,10 @@ const CreateImageWizard = ({ isEdit }: CreateImageWizardProps) => {
|
|||
|
||||
// =========================TO REMOVE=======================
|
||||
|
||||
// Feature flags
|
||||
const isFirstBootEnabled = useFlag('image-builder.firstboot.enabled');
|
||||
const complianceEnabled = useFlag('image-builder.compliance.enabled');
|
||||
|
||||
// IMPORTANT: Ensure the wizard starts with a fresh initial state
|
||||
useEffect(() => {
|
||||
dispatch(initializeWizard());
|
||||
|
|
@ -354,7 +357,7 @@ const CreateImageWizard = ({ isEdit }: CreateImageWizardProps) => {
|
|||
<RegistrationStep />
|
||||
</WizardStep>,
|
||||
<WizardStep
|
||||
name="OpenSCAP"
|
||||
name={complianceEnabled ? 'Compliance' : 'OpenSCAP'}
|
||||
id="step-oscap"
|
||||
key="step-oscap"
|
||||
footer={
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue