1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-18 00:19:49 +01:00

chore: remove sortProjectRoles flag (#9226)

This commit is contained in:
Tymoteusz Czech 2025-02-06 19:40:10 +01:00 committed by GitHub
parent ae366916f3
commit 4e36d2285e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 1 additions and 9 deletions

View File

@ -47,7 +47,6 @@ export const RolePermissionCategories = ({
const granularAdminPermissionsEnabled = useUiFlag(
'granularAdminPermissions',
);
const sortProjectRoles = useUiFlag('sortProjectRoles');
const isProjectRole = PROJECT_ROLE_TYPES.includes(type);
@ -121,7 +120,7 @@ export const RolePermissionCategories = ({
checkedPermissions={checkedPermissions}
onCheckAll={() => onCheckAll(permissions)}
>
{type === 'project' && sortProjectRoles ? (
{type === 'project' ? (
<RolePermissionProject
permissions={permissions}
checkedPermissions={checkedPermissions}

View File

@ -91,7 +91,6 @@ export type UiFlags = {
showUserDeviceCount?: boolean;
flagOverviewRedesign?: boolean;
granularAdminPermissions?: boolean;
sortProjectRoles?: boolean;
frontendHeaderRedesign?: boolean;
dataUsageMultiMonthView?: boolean;
uiGlobalFontSize?: Variant;

View File

@ -61,7 +61,6 @@ export type IFlagKey =
| 'etagVariant'
| 'deltaApi'
| 'uniqueSdkTracking'
| 'sortProjectRoles'
| 'frontendHeaderRedesign'
| 'dataUsageMultiMonthView'
| 'uiGlobalFontSize';
@ -293,10 +292,6 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_UNIQUE_SDK_TRACKING,
false,
),
sortProjectRoles: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_SORT_PROJECT_ROLES,
false,
),
frontendHeaderRedesign: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_FRONTEND_HEADER_REDESIGN,
false,

View File

@ -54,7 +54,6 @@ process.nextTick(async () => {
showUserDeviceCount: true,
flagOverviewRedesign: false,
granularAdminPermissions: true,
sortProjectRoles: true,
deltaApi: true,
uniqueSdkTracking: true,
frontendHeaderRedesign: true,