MessageDto instead of String in Event history
This commit is contained in:
		@@ -13,8 +13,7 @@ var state = {
 | 
			
		||||
  'window': 5,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
var myList, data, previousSort, messageList;
 | 
			
		||||
messageList = messageListForPagination;
 | 
			
		||||
var myList, data, previousSort;
 | 
			
		||||
state.querySet = listForPagination;
 | 
			
		||||
buildTable();
 | 
			
		||||
 | 
			
		||||
@@ -101,6 +100,7 @@ function showTable() {
 | 
			
		||||
  var table = $('#table-body')
 | 
			
		||||
  table.empty();
 | 
			
		||||
  var color;
 | 
			
		||||
  console.log(myList);
 | 
			
		||||
  for (var i = 1; i <= myList.length; i++) {
 | 
			
		||||
    var j = i + (state.page - 1) * 10;
 | 
			
		||||
    i % 2 === 0 ? color = "#b3ffff" : color="#e6ffff";
 | 
			
		||||
@@ -111,7 +111,7 @@ function showTable() {
 | 
			
		||||
                    <td>${myList[i-1].interfaceName}</td>
 | 
			
		||||
                    </tr>
 | 
			
		||||
                    <tr bgcolor="${color}" id="etrack-tr-${j}-body" name="tr-body" hidden>
 | 
			
		||||
                    <td colspan="4">"${messageList[i-1]}"</td>
 | 
			
		||||
                    <td colspan="4">"${JSON.stringify(myList[i-1])}"</td>
 | 
			
		||||
                    </tr>`
 | 
			
		||||
    table.append(row)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user