Skip to content

Commit

Permalink
fix: invert logic (#8135)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
FredrikOseberg authored Sep 11, 2024
1 parent 9c435a9 commit 0f8316a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f8316a

Please sign in to comment.