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 committed Sep 11, 2024
1 parent b7301dc commit 31aa3f2
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 31aa3f2

Please sign in to comment.