CreateImageWizard: hide activation keys for on-prem

Subject says it all
This commit is contained in:
Gianluca Zuccarelli 2025-01-21 10:49:56 +00:00 committed by Sanne Raymaekers
parent e64008aec7
commit 29b7e02de2

View file

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