CreateImageWizard: hide activation keys for on-prem
Subject says it all
This commit is contained in:
parent
e64008aec7
commit
29b7e02de2
1 changed files with 11 additions and 9 deletions
|
|
@ -26,15 +26,17 @@ const RegistrationStep = () => {
|
|||
system during initial boot.
|
||||
</Text>
|
||||
<Registration />
|
||||
<ActivationKeysList />
|
||||
{activationKey && registrationType !== 'register-later' && (
|
||||
<FormGroup
|
||||
label={'Selected activation key'}
|
||||
data-testid="selected-activation-key"
|
||||
>
|
||||
<ActivationKeyInformation />
|
||||
</FormGroup>
|
||||
)}
|
||||
{!process.env.IS_ON_PREMISE && <ActivationKeysList />}
|
||||
{!process.env.IS_ON_PREMISE &&
|
||||
activationKey &&
|
||||
registrationType !== 'register-later' && (
|
||||
<FormGroup
|
||||
label={'Selected activation key'}
|
||||
data-testid="selected-activation-key"
|
||||
>
|
||||
<ActivationKeyInformation />
|
||||
</FormGroup>
|
||||
)}
|
||||
</Form>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue