Flip inbound/outbound graphs on device traffic chart

Swapped dataset order so Inbound appears first, Outbound second
This commit is contained in:
Graham McIntire 2026-01-17 17:07:02 -06:00
parent c74e00fcb0
commit 80a688995a
No known key found for this signature in database

View file

@ -398,8 +398,8 @@ defmodule ToweropsWeb.DeviceLive.Show do
out_data = calculate_bps_data(all_stats, :outbound)
datasets = [
%{label: "Outbound", data: out_data},
%{label: "Inbound", data: in_data}
%{label: "Inbound", data: in_data},
%{label: "Outbound", data: out_data}
]
Jason.encode!(%{datasets: datasets})