Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: don't always fetch all flags on project flag screen (#7834)
There's a bug where the UI will fetch all features every time you load a project screen (including every time you filter the project results). The reason is that the create flag dialog was rendered (just not open) every time. To solve it, we instead wrap it in an extra component that prevents all the fetching and setup from running when the dialog isn't open. Additionally, we'll lower the page size for the global fetch limit to 1, so that we send less data.
- Loading branch information