mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fixes local and remote badges not formatted
This commit is contained in:
parent
90c2279d0d
commit
8c1fb61e60
3 changed files with 21 additions and 3 deletions
|
|
@ -1901,7 +1901,7 @@ function historical_flow_utils.getHistoricalFlowLabel(record, add_hyperlinks, ad
|
|||
end
|
||||
|
||||
if add_hyperlinks and info.cli_location and not isEmptyString(info.cli_location.label) then
|
||||
label = label .. " " .. info.cli_location.label
|
||||
label = label .. " " .. format_location_badge(info.cli_location.label)
|
||||
end
|
||||
|
||||
if info.cli_port and not isEmptyString(info.cli_port.label) then
|
||||
|
|
@ -1945,7 +1945,7 @@ function historical_flow_utils.getHistoricalFlowLabel(record, add_hyperlinks, ad
|
|||
end
|
||||
|
||||
if add_hyperlinks and info.srv_location and not isEmptyString(info.srv_location.label) then
|
||||
label = label .. " " .. info.srv_location.label
|
||||
label = label .. " " .. format_location_badge(info.srv_location.label)
|
||||
end
|
||||
|
||||
if info.srv_port and not isEmptyString(info.srv_port.label) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue