Skip to content

Commit

Permalink
Update net-stat.component.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
PxyUp committed Jan 15, 2022
1 parent 5e4dcc7 commit bedd2e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class NetStatComponent implements OnChanges, OnDestroy {
return;
}
Object.keys(item.net_info.interfaces[iface]).forEach((key) => {
if (!datasets[iface] && datasets[iface][[key]) {
if (!datasets[iface] && datasets[iface][key]) {
return;
}
datasets[iface][key].push(item.net_info.interfaces[iface][key] || 0);
Expand Down

0 comments on commit bedd2e0

Please sign in to comment.