Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: Fix the displaying of alert info for historical alerts #6092 #6107
DO NOT DELETE THIS TEXT
If you would like to test this pull request then please run:
The way alerts work is they register an alert_log entry for every device and every rule (not sure why). Because of this rules / devices that have never triggered will have blank details (now shows 'Rule created, no faults found') and rules which have previously triggered we look for the last alert where the state = 1 which means it was triggered and grabs the data we need from that.