Fixes wrong num alerts used for geomap

This commit is contained in:
Matteo Biscosi 2022-01-20 18:43:04 +01:00
parent f963bb52a1
commit 4cf99661f1

View file

@ -134,7 +134,7 @@ local function show_hosts(hosts_count, host_key)
isRoot = false,
html = getFlag(value["country"]),
ip = address,
isAlert = value["num_alerts"] > 0
isAlert = value["num_alerts"] + value["active_alerted_flows"] > 0
}
if not isEmptyString(value["city"]) then