From fae96280b918fd6e118344bbfbd9c32a4c3f6e84 Mon Sep 17 00:00:00 2001 From: Herbert Wolverson Date: Tue, 12 Mar 2024 16:41:57 -0500 Subject: [PATCH] Actually limit the top 10 endpoints to being 10 --- src/rust/lqos_node_manager/static/main.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rust/lqos_node_manager/static/main.html b/src/rust/lqos_node_manager/static/main.html index 04b46821..1aa27f66 100644 --- a/src/rust/lqos_node_manager/static/main.html +++ b/src/rust/lqos_node_manager/static/main.html @@ -361,7 +361,7 @@ html += "DL RTT"; html += ""; let i = 0; - while (i < data.length) { + while (i < data.length && i < 10) { html += ""; html += "" + data[i][0] + ""; html += "" + scaleNumber(data[i][1][0]) + "";