0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-07 22:25:35 +00:00

Fix a bug in the log page that caused log events to sometimes load twice

This commit is contained in:
Pēteris Caune 2024-05-10 10:27:40 +03:00
parent 46c70a69ca
commit da90d33d38
No known key found for this signature in database
GPG key ID: E28D7679E9A9EDE2
2 changed files with 3 additions and 1 deletions

View file

@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file.
- Fix hc.front.views.docs_search to handle words "AND", "OR", "NOT" as queries
- Fix integrations to not disclose check's code in incident data
- Fix integrations to include oncalendar schedules in notifications
- Fix a bug in the log page that caused log events to sometimes load twice
## v3.3 - 2024-04-03

View file

@ -42,8 +42,9 @@ $(function () {
activeRequest = $.ajax({
url: url + "?" + qs,
timeout: 2000,
success: function(data) {
success: function(data, textStatus, xhr) {
activeRequest = null;
lastUpdated = xhr.getResponseHeader("X-Last-Event-Timestamp");
var tbody = document.createElement("tbody");
tbody.innerHTML = data;
switchDateFormat(dateFormat, tbody.querySelectorAll("tr"));