[BUG] Rules switch has wrong state, as long as you don't reload the page #1785

Closed
opened 2026-04-05 19:41:53 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @ptC7H12 on 2/14/2025

Current behavior:
If you add and activate a rule set and the switch to other setting like "Sites" and the go back. The switch state is off, even when the rules are working.

Image
As soon as you reload the page, the switch gets the right state.

Expected behavior:
The should always have the right state

Steps to reproduce:

  1. Add a rule
  2. enable rule
  3. save rules
  4. Switch to "Sites"
  5. Go back to Rules
  6. Check the state of the switch
  7. reload page
  8. Check the state of the switch

Environment:

  • Debian 11
  • Application Version: v1.0.0 beta13
*Originally created by @ptC7H12 on 2/14/2025* **Current behavior:** If you add and activate a rule set and the switch to other setting like "Sites" and the go back. The switch state is off, even when the rules are working. ![Image](https://github.com/user-attachments/assets/58de7c36-9fbb-43bf-ac21-38a8d6bd64ca) As soon as you reload the page, the switch gets the right state. **Expected behavior:** The should always have the right state **Steps to reproduce:** 1. Add a rule 2. enable rule 3. save rules 4. Switch to "Sites" 5. Go back to Rules 6. Check the state of the switch 7. reload page 8. Check the state of the switch **Environment:** - Debian 11 - Application Version: v1.0.0 beta13
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1785