Bwug
This commit is contained in:
parent
6593fc4413
commit
e03af9da37
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue