Wizard: Fix disable Next on Registration step

When the option to register with rhc and insights was added back the disableNext condition wasn't updated, allowing user to continue with registration even without selecting activation key.
This commit is contained in:
regexowl 2024-08-19 14:07:44 +02:00 committed by Sanne Raymaekers
parent 4f7a344bf9
commit f60e80b4e8

View file

@ -328,7 +328,7 @@ const CreateImageWizard = ({ isEdit }: CreateImageWizardProps) => {
footer={
<CustomWizardFooter
disableNext={
registrationType === 'register-now' && !activationKey
registrationType.startsWith('register-now') && !activationKey
}
/>
}