Skip to content

Commit

Permalink
fix: percentage allocation display (#2518)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg committed Jul 26, 2023
1 parent 7427633 commit f8b1d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/web/components/modals/CreateFlag.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ const CreateFlag = class extends Component {
return {
...v,
default_percentage_allocation:
v.default_percentage_allocation ||
(matchingVariation &&
matchingVariation.percentage_allocation) ||
v.default_percentage_allocation ||
0,
}
}),
Expand Down

3 comments on commit f8b1d50

@vercel
Copy link

@vercel vercel bot commented on f8b1d50 Jul 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on f8b1d50 Jul 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on f8b1d50 Jul 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./docs

docs-git-main-flagsmith.vercel.app
docs-flagsmith.vercel.app
docs.flagsmith.com
docs.bullet-train.io

Please sign in to comment.