Skip to content

Commit

Permalink
fix: Identity overrides tab (#4134)
Browse files Browse the repository at this point in the history
  • Loading branch information
novakzaballa authored Jun 10, 2024
1 parent 5e388fe commit 1a51fd3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/web/components/modals/CreateFlag.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +272,11 @@ const CreateFlag = class extends Component {
}
save = (func, isSaving) => {
const {
environmentFlag,
environmentId,
identity,
identityFlag,
projectFlag: _projectFlag,
environmentFlag,
segmentOverrides,
} = this.props
const {
Expand Down Expand Up @@ -446,8 +446,7 @@ const CreateFlag = class extends Component {
}

addItem = () => {
const { environmentId, identity, projectFlag } = this.props
const { environmentFlag } = this.state
const { environmentFlag, environmentId, identity, projectFlag } = this.props
this.setState({ isLoading: true })
const selectedIdentity = this.state.selectedIdentity.value
const identities = identity ? identity.identifier : []
Expand Down

0 comments on commit 1a51fd3

Please sign in to comment.