Skip to content

Commit

Permalink
Wizard: move RHEL 9 beta out of preview
Browse files Browse the repository at this point in the history
  • Loading branch information
croissanne authored and ochosi committed Oct 17, 2024
1 parent c9e5f96 commit 15a7115
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import {
} from '../../../../store/wizardSlice';
import isRhel from '../../../../Utilities/isRhel';
import { toMonthAndYear } from '../../../../Utilities/time';
import { useGetEnvironment } from '../../../../Utilities/useGetEnvironment';

const ReleaseSelect = () => {
// What the UI refers to as the "release" is referred to as the "distribution" in the API.
Expand All @@ -35,7 +34,6 @@ const ReleaseSelect = () => {
const dispatch = useAppDispatch();
const [isOpen, setIsOpen] = useState(false);
const [showDevelopmentOptions, setShowDevelopmentOptions] = useState(false);
const { isBeta } = useGetEnvironment();

const handleSelect = (_event: React.MouseEvent, selection: Distributions) => {
dispatch(changeDistribution(selection));
Expand Down Expand Up @@ -82,11 +80,6 @@ const ReleaseSelect = () => {
);

filteredRhel.forEach((value, key) => {
// Only show RHEL 9 beta in preview
if (key === RHEL_9_BETA && !isBeta()) {
return;
}

options.push(
<SelectOption
key={value}
Expand Down

0 comments on commit 15a7115

Please sign in to comment.