MessageDto instead of String in Event history

This commit is contained in:
Szakalakamaka
2020-11-18 13:25:53 +01:00
parent 26636da555
commit 7b80192d43
29 changed files with 449 additions and 294 deletions

View File

@@ -13,8 +13,10 @@ var state = {
'window': 5,
}
var myList, data, previousSort;
var myList, data, previousSort, messageList;
messageList = messageListForPagination;
dupalsit = listForPagination;
state.querySet = listForPagination;
buildTable();
@@ -111,9 +113,11 @@ function showTable() {
<td>${myList[i-1].interfaceName}</td>
</tr>
<tr bgcolor="${color}" id="etrack-tr-${j}-body" name="tr-body" hidden>
<td colspan="4">"${myList[i-1].message}"</td>
<td colspan="4">"${messageList[i-1]}"</td>
</tr>`
table.append(row)
}
for (var i = myList.length + 1; i <= state.rows; i++) {
i % 2 === 0 ? color = "#b3ffff" : color="#e6ffff";