mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
[Gitar] Cleaning up stale flag: licensedUsers with value true (#9061)
[![Gitar](https://raw.githubusercontent.com/gitarcode/.github/main/assets/gitar-banner.svg)](https://gitar.ai) This automated PR permanently enables the `licensedUsers` feature flag. --- This automated PR was generated by [Gitar](https://gitar.ai). View [docs](https://gitar.ai/docs). --------- Co-authored-by: Gitar <noreply@gitar.ai>
This commit is contained in:
parent
c56200e030
commit
1c0431365e
@ -1,6 +1,5 @@
|
||||
import { Box, styled } from '@mui/material';
|
||||
import { InviteLinkBar } from '../InviteLinkBar/InviteLinkBar';
|
||||
import { useUiFlag } from 'hooks/useUiFlag';
|
||||
import useUiConfig from 'hooks/api/getters/useUiConfig/useUiConfig';
|
||||
import { LicensedUsersBox } from './LicensedUsersBox';
|
||||
|
||||
@ -24,9 +23,8 @@ const StyledElement = styled(Box)(({ theme }) => ({
|
||||
}));
|
||||
|
||||
export const UsersHeader = () => {
|
||||
const licensedUsers = useUiFlag('licensedUsers');
|
||||
const { isOss } = useUiConfig();
|
||||
const licensedUsersEnabled = licensedUsers && !isOss();
|
||||
const licensedUsersEnabled = !isOss();
|
||||
|
||||
return (
|
||||
<StyledContainer>
|
||||
|
@ -90,7 +90,6 @@ export type UiFlags = {
|
||||
productivityReportEmail?: boolean;
|
||||
showUserDeviceCount?: boolean;
|
||||
flagOverviewRedesign?: boolean;
|
||||
licensedUsers?: boolean;
|
||||
granularAdminPermissions?: boolean;
|
||||
};
|
||||
|
||||
|
@ -57,7 +57,6 @@ export type IFlagKey =
|
||||
| 'showUserDeviceCount'
|
||||
| 'deleteStaleUserSessions'
|
||||
| 'memorizeStats'
|
||||
| 'licensedUsers'
|
||||
| 'granularAdminPermissions'
|
||||
| 'streaming'
|
||||
| 'etagVariant'
|
||||
@ -270,10 +269,6 @@ const flags: IFlags = {
|
||||
process.env.UNLEASH_EXPERIMENTAL_FLAG_OVERVIEW_REDESIGN,
|
||||
false,
|
||||
),
|
||||
licensedUsers: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_FLAG_LICENSED_USERS,
|
||||
false,
|
||||
),
|
||||
granularAdminPermissions: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_GRANULAR_ADMIN_PERMISSIONS,
|
||||
false,
|
||||
|
@ -54,7 +54,6 @@ process.nextTick(async () => {
|
||||
simplifyProjectOverview: true,
|
||||
showUserDeviceCount: true,
|
||||
flagOverviewRedesign: false,
|
||||
licensedUsers: true,
|
||||
granularAdminPermissions: true,
|
||||
deltaApi: true,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user