Fix devices bandwidth and MAC descriptors

This commit is contained in:
vanne committed 2026-07-01 14:53:33 +07:00
1 parent 4eee901d76
commit 448736bc03
4 files changed
+171 -117

No files matched your search

+2 -2
View File
@@ -1756,8 +1756,8 @@ async function fetchDeviceDetails(ip) {
return {
ip,
mac_address : mac,
total_download : sumRow?.total_download ?? 0,
total_upload : sumRow?.total_upload ?? 0,
total_download : deviceRow?.download || sumRow?.total_download || 0,
total_upload : deviceRow?.upload || sumRow?.total_upload || 0,
flow_count : sumRow?.flow_count ?? 0,
device_info,
top_apps,