Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add buttons have an invalid state after deleting a rule #1590

Closed
Flaminel opened this issue Feb 20, 2025 · 1 comment
Closed

Add buttons have an invalid state after deleting a rule #1590

Flaminel opened this issue Feb 20, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Flaminel
Copy link
Contributor

Describe the bug
Add and New Section buttons appear even though the first rule is not yet configured. Also, the same buttons never appear again if a rule is deleted while the latest added one is not configured yet (see steps to reproduce).

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Rules'
  2. Click on 'New rule'
  3. Scroll down to 'Rules'
  4. Configure Rule#1.
  5. Press the 'Add' button.
  6. Configure Rule#2.
  7. Press the 'Add' button.
  8. Press the 'Delete' button on Rule#2.
  9. Configure Rule#2 (which was Rule#3).

Expected behavior
The Add and New Section buttons do not have an invalid state and they appear after a rule has been configured.

Screenshots
Image

Device (please complete the following information):

  • OS: Docker on Debian.
  • Version: 2.9.0
@benscobie benscobie added the bug Something isn't working label Feb 24, 2025
@Flaminel
Copy link
Contributor Author

Fixed by #1591.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants