Wizard: Add rhel9 query parameter
We've been previously setting RHEL 9 as default, meaning there was no specific quer parameter for it.
This commit is contained in:
parent
5545ce4027
commit
cdd10a01ff
1 changed files with 4 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ import {
|
|||
AARCH64,
|
||||
CENTOS_9,
|
||||
AMPLITUDE_MODULE_NAME,
|
||||
RHEL_9,
|
||||
} from '../../constants';
|
||||
import { useAppDispatch, useAppSelector } from '../../store/hooks';
|
||||
import './CreateImageWizard.scss';
|
||||
|
|
@ -210,6 +211,9 @@ const CreateImageWizard = ({ isEdit }: CreateImageWizardProps) => {
|
|||
if (searchParams.get('release') === 'rhel8') {
|
||||
dispatch(changeDistribution(RHEL_8));
|
||||
}
|
||||
if (searchParams.get('release') === 'rhel9') {
|
||||
dispatch(changeDistribution(RHEL_9));
|
||||
}
|
||||
if (searchParams.get('release') === 'rhel10beta') {
|
||||
dispatch(changeDistribution(RHEL_10_BETA));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue