Skip to content

Commit

Permalink
fix: re-add identity overrides for core projects (#3139)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell authored Dec 11, 2023
1 parent 921b210 commit 8a5c20f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions frontend/common/utils/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -346,15 +346,16 @@ const Utils = Object.assign({}, require('./base/_utils'), {

getShouldHideIdentityOverridesTab(_project: ProjectType) {
const project = _project || ProjectStore.model
if (
if (!Utils.getIsEdge()) {
return false
}

return !!(
!Utils.getFlagsmithHasFeature('show_edge_identity_overrides') ||
(project &&
project.use_edge_identities &&
!project.show_edge_identity_overrides_for_feature)
) {
return true
}
return false
)
},

getShouldSendIdentityToTraits(_project: ProjectType) {
Expand Down

3 comments on commit 8a5c20f

@vercel
Copy link

@vercel vercel bot commented on 8a5c20f 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 8a5c20f 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 8a5c20f 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-flagsmith.vercel.app
docs-git-main-flagsmith.vercel.app
docs.bullet-train.io

Please sign in to comment.