From 8f7361c4a56887d036bfd6a56a26c45d0d9d5436 Mon Sep 17 00:00:00 2001 From: Novak Zaballa Date: Fri, 7 Jun 2024 16:56:52 -0400 Subject: [PATCH] fix: Identity overrides tab --- frontend/web/components/modals/CreateFlag.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/web/components/modals/CreateFlag.js b/frontend/web/components/modals/CreateFlag.js index 84fa8ce84555..1df97da9a44b 100644 --- a/frontend/web/components/modals/CreateFlag.js +++ b/frontend/web/components/modals/CreateFlag.js @@ -272,11 +272,11 @@ const CreateFlag = class extends Component { } save = (func, isSaving) => { const { + environmentFlag, environmentId, identity, identityFlag, projectFlag: _projectFlag, - environmentFlag, segmentOverrides, } = this.props const { @@ -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 : []