diff --git a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/endpoints_by_country.js b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/endpoints_by_country.js index 49660207..305f14a1 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/endpoints_by_country.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/endpoints_by_country.js @@ -58,11 +58,11 @@ export class Top10EndpointsByCountry extends BaseDashlet { row.appendChild(dlu); let rttd = document.createElement("td"); - rttd.innerText = scaleNanos(r[2].down); + rttd.innerText = scaleNanos(r[2][0]); row.appendChild(rttd); let rttu = document.createElement("td"); - rttu.innerText = scaleNanos(r[2].up); + rttu.innerText = scaleNanos(r[2][1]); row.appendChild(rttu); t.appendChild(row); diff --git a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top_tree_summary.js b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top_tree_summary.js index e8fcebd6..44ca51c9 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top_tree_summary.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top_tree_summary.js @@ -43,8 +43,8 @@ export class TopTreeSummary extends BaseDashlet { msg.data.forEach((r) => { let row = document.createElement("tr"); row.appendChild(simpleRow(r[1].name)); - row.appendChild(simpleRow(scaleNumber(r[1].current_throughput.down))); - row.appendChild(simpleRow(scaleNumber(r[1].current_throughput.up))); + row.appendChild(simpleRow(scaleNumber(r[1].current_throughput[0]))); + row.appendChild(simpleRow(scaleNumber(r[1].current_throughput[1]))); t.appendChild(row); });