mirror of
https://github.com/optim-enterprises-bv/OptimCloud-gw-ui.git
synced 2025-11-01 18:57:46 +00:00
2.5.30: fix for device statistics
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user