Shows traffic profile in nIndex flows

Implements #4316
This commit is contained in:
Simone Mainardi 2020-08-31 10:12:52 +02:00
parent cb1e4400c6
commit cef4e57641
2 changed files with 13 additions and 1 deletions

View file

@ -95,7 +95,7 @@ for key, value in ipairs(flows_stats) do
flows_stats[key]["info"] = "<span data-toggle='tooltip' title='"..alt_info.."'>"..info.."</span>"
if(flows_stats[key]["profile"] ~= nil) then
flows_stats[key]["info"] = "<span class='badge badge-primary'>"..flows_stats[key]["profile"].."</span> "..flows_stats[key]["info"]
flows_stats[key]["info"] = formatTrafficProfile(flows_stats[key]["profile"])..flows_stats[key]["info"]
end
end