Unleash/unleash

Feature flag limit is not correctly updated after reverting it

nunogois opened this issue · 0 comments

Describe the bug

The "feature flag limit" setting in project settings is not correctly updated once you set it and then try to revert it. After clearing the field and saving, alerts about feature flag limits are still visible and the "create" button is disabled.

Steps to reproduce the bug

  1. Access the "settings" tab inside a project
  2. Set a feature limit (e.g. 1)
  3. Create feature toggles on that project, up to the configured limit
  4. Go back to the project settings, clear the field and save
  5. Attempt to create a new feature toggle

Expected behavior

Once the "feature flag limit" setting is cleared, we should be allowed to freely create new feature toggles on that project.

Logs, error output, etc.

No response

Screenshots

No response

Additional context

No response

Unleash version

5.6.5

Subscription type

Enterprise

Hosting type

None

SDK information (language and version)

No response