CreateImageWizard: Add RHEL10beta search parameter

This means we can easily link to the wizard and pre-select RHEL 10 Beta
which will be nice for the release announcement blog post.
This commit is contained in:
Simon Steinbeiss 2024-11-29 09:37:09 +01:00 committed by Klara Simickova
parent ccc364b66d
commit c4a06e2ac9
2 changed files with 8 additions and 0 deletions

View file

@ -167,6 +167,9 @@ const CreateImageWizard = ({ isEdit }: CreateImageWizardProps) => {
if (searchParams.get('release') === 'rhel8') {
dispatch(changeDistribution(RHEL_8));
}
if (searchParams.get('release') === 'rhel10beta') {
dispatch(changeDistribution(RHEL_10_BETA));
}
if (searchParams.get('arch') === AARCH64) {
dispatch(changeArchitecture(AARCH64));
}