MessageDto instead of String in Event history

This commit is contained in:
Szakalakamaka
2020-11-18 15:03:01 +01:00
parent 7b80192d43
commit 56baf9641e
10 changed files with 58 additions and 120 deletions

View File

@@ -13,8 +13,8 @@ var state = {
'window': 5,
}
var myList, data, previousSort;
var myList, data, previousSort, messageList;
messageList = messageListForPagination;
state.querySet = listForPagination;
buildTable();
@@ -111,9 +111,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";