This commit is contained in:
Christopher Cookman 2025-08-31 23:46:06 -06:00
parent 6593fc4413
commit e03af9da37

View file

@ -74,9 +74,10 @@
const formattedDate = `${yyyy}-${mm}-${dd} ${HH}:${MM}:${ss} ${tz}`;
// Use EJS-injected dataTypes for event types, directions, and reasons
const eventTypes = <% - JSON.stringify(dataTypes.EventType) %>;
const directions = <% - JSON.stringify(dataTypes.Direction) %>;
const reasons = <% - JSON.stringify(dataTypes.EventReason) %>;
const dataTypes = <%- JSON.stringify(dataTypes) %>;
const eventTypes = dataTypes.EventType;
const directions = dataTypes.Direction;
const reasons = dataTypes.EventReason;
const tr = document.createElement('tr');
if (log.Type === 3) {