Fix RTT alerts location

This commit is contained in:
emanuele-f 2019-06-28 18:27:42 +02:00
parent b34332ec60
commit 937d94dd0e
3 changed files with 41 additions and 7 deletions

View file

@ -2065,7 +2065,11 @@ end
function drawAlerts(options)
local num_engaged_alerts = getNumAlerts("engaged", getTabParameters(_GET, "engaged"))
local num_past_alerts = getNumAlerts("historical", getTabParameters(_GET, "historical"))
local num_flow_alerts = getNumAlerts("historical-flows", getTabParameters(_GET, "historical-flows"))
local num_flow_alerts = 0
if _GET["entity"] == nil then
num_flow_alerts = getNumAlerts("historical-flows", getTabParameters(_GET, "historical-flows"))
end
checkDeleteStoredAlerts()