mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
fix: invert logic (#8135)
The EEA flag is present in enterprise instances which currently is blocking enterprise customers from accessing this button. This PR inverts the logic that was changed in #7796.
This commit is contained in:
parent
9c435a9ec6
commit
0f8316a6de
@ -10,7 +10,7 @@ import { useUiFlag } from 'hooks/useUiFlag';
|
||||
|
||||
export const CreateEnvironmentButton = () => {
|
||||
const navigate = useNavigate();
|
||||
const disabled = useUiFlag('EEA');
|
||||
const disabled = !useUiFlag('EEA');
|
||||
|
||||
const endIcon = disabled ? (
|
||||
<ThemeMode
|
||||
|
Loading…
Reference in New Issue
Block a user