Skip to content

Commit

Permalink
set default value on clear
Browse files Browse the repository at this point in the history
  • Loading branch information
daibhin committed Jan 3, 2024
1 parent 3d58455 commit 4c0ea7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export function FeatureFlagReleaseConditions({
type="number"
className="mx-2"
onChange={(value): void => {
updateConditionSet(index, value)
updateConditionSet(index, value || 100)
}}
value={group.rollout_percentage != null ? group.rollout_percentage : 100}
min={0}
Expand Down

0 comments on commit 4c0ea7f

Please sign in to comment.