Unverified Commit f19ef526 authored by bugclerk's avatar bugclerk Committed by GitHub
Browse files

NAS-119368: Invert In/Out on Network widget (#7506)


(cherry picked from commit 4be85fcef32f323ff01c2af78392f1e8ca0d966e)
Co-authored-by: default avatarBoris Vasilenko <bvasilenko@ixsystems.com>
Showing with 2 additions and 2 deletions
+2 -2
......@@ -203,8 +203,8 @@ export class WidgetNetworkComponent extends WidgetComponent implements OnInit, A
if (evt.data.link_state) {
nicInfo.state = evt.data.link_state;
}
nicInfo.in = `${filesize(evt.data.sent_bytes_rate, { standard: 'iec' })}/s`;
nicInfo.out = `${filesize(evt.data.received_bytes_rate, { standard: 'iec' })}/s`;
nicInfo.in = `${filesize(evt.data.received_bytes_rate, { standard: 'iec' })}/s`;
nicInfo.out = `${filesize(evt.data.sent_bytes_rate, { standard: 'iec' })}/s`;
if (
evt.data.sent_bytes !== undefined
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment