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

Closed
opened 2025-11-13 11:49:24 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @ptC7H12 on GitHub (Feb 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 GitHub (Feb 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
Author
Owner

@hhftechnology commented on GitHub (Feb 14, 2025):

i have seen this. i can reproduce it.

@hhftechnology commented on GitHub (Feb 14, 2025): i have seen this. i can reproduce it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#83