Wizard: Support RHEL10 in URL search parameters

This commit is contained in:
Lucas Garfield 2025-05-14 10:20:28 -05:00 committed by Lucas Garfield
parent 23473fd1cd
commit 92984f3187

View file

@ -62,6 +62,7 @@ import {
import {
RHEL_8,
RHEL_10_BETA,
RHEL_10,
AARCH64,
CENTOS_9,
AMPLITUDE_MODULE_NAME,
@ -210,6 +211,9 @@ const CreateImageWizard = ({ isEdit }: CreateImageWizardProps) => {
if (searchParams.get('release') === 'rhel10beta') {
dispatch(changeDistribution(RHEL_10_BETA));
}
if (searchParams.get('release') === 'rhel10') {
dispatch(changeDistribution(RHEL_10));
}
if (searchParams.get('arch') === AARCH64) {
dispatch(changeArchitecture(AARCH64));
}