src: Remove image-builder.users.enabled flag
The Users customization is available in production now, the flag is no longer used.
This commit is contained in:
parent
3312beb6e7
commit
b465920b18
5 changed files with 3 additions and 11 deletions
|
|
@ -199,7 +199,6 @@ const CreateImageWizard = ({ isEdit }: CreateImageWizardProps) => {
|
|||
const { isFedoraEnv } = useGetEnvironment();
|
||||
// Feature flags
|
||||
const complianceEnabled = useFlag('image-builder.compliance.enabled');
|
||||
const isUsersEnabled = useFlag('image-builder.users.enabled');
|
||||
|
||||
// IMPORTANT: Ensure the wizard starts with a fresh initial state
|
||||
useEffect(() => {
|
||||
|
|
@ -566,7 +565,6 @@ const CreateImageWizard = ({ isEdit }: CreateImageWizardProps) => {
|
|||
id="wizard-users"
|
||||
key="wizard-users"
|
||||
navItem={customStatusNavItem}
|
||||
isHidden={!isUsersEnabled}
|
||||
status={usersValidation.disabledNext ? 'error' : 'default'}
|
||||
footer={
|
||||
<CustomWizardFooter
|
||||
|
|
|
|||
|
|
@ -60,10 +60,7 @@ import {
|
|||
selectUsers,
|
||||
selectKernel,
|
||||
} from '../../../../store/wizardSlice';
|
||||
import {
|
||||
useFlag,
|
||||
useGetEnvironment,
|
||||
} from '../../../../Utilities/useGetEnvironment';
|
||||
import { useGetEnvironment } from '../../../../Utilities/useGetEnvironment';
|
||||
|
||||
const Review = () => {
|
||||
const { goToStepById } = useWizardContext();
|
||||
|
|
@ -190,7 +187,6 @@ const Review = () => {
|
|||
);
|
||||
};
|
||||
|
||||
const isUsersEnabled = useFlag('image-builder.users.enabled');
|
||||
const { isFedoraEnv } = useGetEnvironment();
|
||||
return (
|
||||
<>
|
||||
|
|
@ -380,7 +376,7 @@ const Review = () => {
|
|||
<ContentList />
|
||||
</ExpandableSection>
|
||||
)}
|
||||
{isUsersEnabled && users.length > 0 && (
|
||||
{users.length > 0 && (
|
||||
<ExpandableSection
|
||||
toggleContent={composeExpandable(
|
||||
'Users',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue