Skip to content

Commit

Permalink
fix: do not show identity overrides tab until release (#3134)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell authored Dec 11, 2023
1 parent f54bb50 commit b1fb768
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/common/utils/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -347,10 +347,10 @@ const Utils = Object.assign({}, require('./base/_utils'), {
getShouldHideIdentityOverridesTab(_project: ProjectType) {
const project = _project || ProjectStore.model
if (
project &&
project.use_edge_identities &&
project.show_edge_identity_overrides_for_feature &&
!Utils.getFlagsmithHasFeature('show_edge_identity_overrides')
!Utils.getFlagsmithHasFeature('show_edge_identity_overrides') ||
(project &&
project.use_edge_identities &&
!project.show_edge_identity_overrides_for_feature)
) {
return true
}
Expand Down

3 comments on commit b1fb768

@vercel
Copy link

@vercel vercel bot commented on b1fb768 Dec 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on b1fb768 Dec 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./docs

docs.flagsmith.com
docs.bullet-train.io
docs-git-main-flagsmith.vercel.app
docs-flagsmith.vercel.app

@vercel
Copy link

@vercel vercel bot commented on b1fb768 Dec 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.