2.5.30: fix for device statistics

This commit is contained in:
Charles
2022-01-18 19:42:08 +01:00
parent 1481626b1b
commit 3ca900af6c
5 changed files with 10 additions and 70 deletions

View File

@@ -127,8 +127,8 @@ const StatisticsChartList = ({ setOptions, section, setStart, setEnd, time }) =>
totalTx += assoc.deltas?.tx_bytes ?? 0;
totalRx += assoc.deltas?.rx_bytes ?? 0;
} else {
totalTx += assoc.counters?.tx_bytes ?? 0;
totalRx += assoc.counters?.rx_bytes ?? 0;
totalTx += assoc.tx_bytes ?? 0;
totalRx += assoc.rx_bytes ?? 0;
}
}
}