Scale the network tree numbers

This commit is contained in:
Herbert Wolverson 2024-07-02 15:01:40 -05:00
parent 430c4030af
commit da4df7dce8

View File

@ -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[0])));
row.appendChild(simpleRow(scaleNumber(r[1].current_throughput[1])));
row.appendChild(simpleRow(scaleNumber(r[1].current_throughput[0] * 8)));
row.appendChild(simpleRow(scaleNumber(r[1].current_throughput[1] * 8)));
t.appendChild(row);
});