Closed DL6ER closed 4 weeks ago
Good idea - but it's not working for me right now. After the queries are imported the count of 'Total queries' jumps up from 0 to a few thousand but no charts are updated. After a while the top lists are updated/populated but the 'overTime' graphs are not (or I did not wait long enough)
The update should work immediately so not having waited long enough isn't an option. I looked again at the logic and you description of
the count of 'Total queries' jumps up from 0 to a few thousand
translates into
if (0 < 1000 && 1000 > 100) {
// update the charts
}
should definitely have fired. Either this is a caching issue with the JS file or - I'm afraid - I have to ask you to do some debugging on this when time allows.
Ok, you have probably be right with the caching issue. I tried with a fresh cache on FF and Chrome and it worked better - but now I get a constant re-drawing. I think we miss an exit of the loop somewhere.
What does this implement/fix?
This PR addresses the issue mentioned in https://github.com/pi-hole/FTL/pull/1977#issuecomment-2191035021
Related issue or feature (if applicable): https://github.com/pi-hole/FTL/pull/1977
Pull request in docs with documentation (if applicable): N/A
By submitting this pull request, I confirm the following:
git rebase
)Checklist:
developmental
branch.