Skip registration for non rhel output

Based on new changes in master the registration step should be skipped if no RHEL output is selected
This commit is contained in:
Karel Hala 2021-06-09 16:12:01 +02:00 committed by Sanne Raymaekers
parent 902480dab4
commit 74f1293773
4 changed files with 5 additions and 5 deletions

View file

@ -9,7 +9,7 @@ export default {
customTitle: <Title headingLevel="h1" size="xl">Target Environment - Microsoft Azure</Title>,
name: 'ms-azure-target-env',
substepOf: 'Target environment',
nextStep: 'registration',
nextStep: ({ values }) => values?.release === 'rhel-8' ? 'registration' : 'packages',
fields: [
{
component: componentTypes.PLAIN_TEXT,