Actually limit the top 10 endpoints to being 10

This commit is contained in:
Herbert Wolverson 2024-03-12 16:41:57 -05:00
parent c16f06b0ab
commit fae96280b9

View File

@ -361,7 +361,7 @@
html += "<th>DL RTT</th>"; html += "<th>DL RTT</th>";
html += "</thead></tbody>"; html += "</thead></tbody>";
let i = 0; let i = 0;
while (i < data.length) { while (i < data.length && i < 10) {
html += "<tr>"; html += "<tr>";
html += "<td>" + data[i][0] + "</td>"; html += "<td>" + data[i][0] + "</td>";
html += "<td>" + scaleNumber(data[i][1][0]) + "</td>"; html += "<td>" + scaleNumber(data[i][1][0]) + "</td>";