Skip to content

Commit

Permalink
fix(experiments): Allow editing variant rollout percentage (#26772)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbachhuber authored Dec 10, 2024
1 parent d24c8ab commit 284f838
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,12 @@ export function DistributionModal({ experimentId }: { experimentId: Experiment['
<LemonButton
onClick={() => {
saveSidebarExperimentFeatureFlag(featureFlag)
updateExperiment({ holdout_id: experiment.holdout_id })
updateExperiment({
holdout_id: experiment.holdout_id,
parameters: {
feature_flag_variants: featureFlag?.filters?.multivariate?.variants ?? [],
},
})
closeDistributionModal()
}}
type="primary"
Expand Down

0 comments on commit 284f838

Please sign in to comment.