Bwug
This commit is contained in:
parent
6593fc4413
commit
e03af9da37
|
@ -74,9 +74,10 @@
|
||||||
const formattedDate = `${yyyy}-${mm}-${dd} ${HH}:${MM}:${ss} ${tz}`;
|
const formattedDate = `${yyyy}-${mm}-${dd} ${HH}:${MM}:${ss} ${tz}`;
|
||||||
|
|
||||||
// Use EJS-injected dataTypes for event types, directions, and reasons
|
// Use EJS-injected dataTypes for event types, directions, and reasons
|
||||||
const eventTypes = <% - JSON.stringify(dataTypes.EventType) %>;
|
const dataTypes = <%- JSON.stringify(dataTypes) %>;
|
||||||
const directions = <% - JSON.stringify(dataTypes.Direction) %>;
|
const eventTypes = dataTypes.EventType;
|
||||||
const reasons = <% - JSON.stringify(dataTypes.EventReason) %>;
|
const directions = dataTypes.Direction;
|
||||||
|
const reasons = dataTypes.EventReason;
|
||||||
|
|
||||||
const tr = document.createElement('tr');
|
const tr = document.createElement('tr');
|
||||||
if (log.Type === 3) {
|
if (log.Type === 3) {
|
||||||
|
|
Loading…
Reference in a new issue