Skip to content

Commit ff2773c

Browse files
talissoncostaclaude
andcommitted
fix: use project initial_value for control in identity override
When editing an identity override for a multivariate feature, the control value was incorrectly showing the identity's selected variation value instead of the project's actual control value. This caused the selected variation to appear twice in the list - once as "control" and once in the variations list. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 2c61d56 commit ff2773c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/web/components/modals/create-feature/tabs/FeatureValue.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ const FeatureValue: FC<EditFeatureValueProps> = ({
236236
<VariationOptions
237237
disabled
238238
select
239-
controlValue={featureState.feature_state_value}
239+
controlValue={projectFlag.initial_value}
240240
controlPercentage={controlPercentage}
241241
variationOverrides={identityVariations}
242242
setVariations={(multivariate_feature_state_values) =>

0 commit comments

Comments
 (0)