From 15a7115eec71c575ae7cc5cc13b76d5cb93203e4 Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Thu, 17 Oct 2024 10:24:51 +0200 Subject: [PATCH] Wizard: move RHEL 9 beta out of preview --- .../CreateImageWizard/steps/ImageOutput/ReleaseSelect.tsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Components/CreateImageWizard/steps/ImageOutput/ReleaseSelect.tsx b/src/Components/CreateImageWizard/steps/ImageOutput/ReleaseSelect.tsx index fe64694e..cea3b9b5 100644 --- a/src/Components/CreateImageWizard/steps/ImageOutput/ReleaseSelect.tsx +++ b/src/Components/CreateImageWizard/steps/ImageOutput/ReleaseSelect.tsx @@ -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. @@ -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)); @@ -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(