Wizard: make optional steps clickable on prem
This commit is contained in:
parent
3adf864c42
commit
8da57f5790
1 changed files with 5 additions and 1 deletions
|
|
@ -260,7 +260,11 @@ const CreateImageWizard = ({ isEdit }: CreateImageWizardProps) => {
|
|||
const isVisitOptional =
|
||||
'parentId' in step && step.parentId === 'step-optional-steps';
|
||||
|
||||
if (step.id === 'step-register' && step.isVisited) {
|
||||
if (process.env.IS_ON_PREMISE) {
|
||||
if (step.id === 'step-oscap' && step.isVisited) {
|
||||
setWasRegisterVisited(true);
|
||||
}
|
||||
} else if (step.id === 'step-register' && step.isVisited) {
|
||||
setWasRegisterVisited(true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue