Commit 4e36d22 1 parent ae36691 commit 4e36d22 Copy full SHA for 4e36d22
File tree 4 files changed +1
-9
lines changed
component/admin/roles/RoleForm/RolePermissionCategories
4 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ export const RolePermissionCategories = ({
47
47
const granularAdminPermissionsEnabled = useUiFlag (
48
48
'granularAdminPermissions' ,
49
49
) ;
50
- const sortProjectRoles = useUiFlag ( 'sortProjectRoles' ) ;
51
50
52
51
const isProjectRole = PROJECT_ROLE_TYPES . includes ( type ) ;
53
52
@@ -121,7 +120,7 @@ export const RolePermissionCategories = ({
121
120
checkedPermissions = { checkedPermissions }
122
121
onCheckAll = { ( ) => onCheckAll ( permissions ) }
123
122
>
124
- { type === 'project' && sortProjectRoles ? (
123
+ { type === 'project' ? (
125
124
< RolePermissionProject
126
125
permissions = { permissions }
127
126
checkedPermissions = { checkedPermissions }
Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ export type UiFlags = {
91
91
showUserDeviceCount ?: boolean ;
92
92
flagOverviewRedesign ?: boolean ;
93
93
granularAdminPermissions ?: boolean ;
94
- sortProjectRoles ?: boolean ;
95
94
frontendHeaderRedesign ?: boolean ;
96
95
dataUsageMultiMonthView ?: boolean ;
97
96
uiGlobalFontSize ?: Variant ;
Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ export type IFlagKey =
61
61
| 'etagVariant'
62
62
| 'deltaApi'
63
63
| 'uniqueSdkTracking'
64
- | 'sortProjectRoles'
65
64
| 'frontendHeaderRedesign'
66
65
| 'dataUsageMultiMonthView'
67
66
| 'uiGlobalFontSize' ;
@@ -293,10 +292,6 @@ const flags: IFlags = {
293
292
process . env . UNLEASH_EXPERIMENTAL_UNIQUE_SDK_TRACKING ,
294
293
false ,
295
294
) ,
296
- sortProjectRoles : parseEnvVarBoolean (
297
- process . env . UNLEASH_EXPERIMENTAL_SORT_PROJECT_ROLES ,
298
- false ,
299
- ) ,
300
295
frontendHeaderRedesign : parseEnvVarBoolean (
301
296
process . env . UNLEASH_EXPERIMENTAL_FRONTEND_HEADER_REDESIGN ,
302
297
false ,
Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ process.nextTick(async () => {
54
54
showUserDeviceCount : true ,
55
55
flagOverviewRedesign : false ,
56
56
granularAdminPermissions : true ,
57
- sortProjectRoles : true ,
58
57
deltaApi : true ,
59
58
uniqueSdkTracking : true ,
60
59
frontendHeaderRedesign : true ,
You can’t perform that action at this time.
0 commit comments