mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fixes emergency recipient toast not configured
This commit is contained in:
parent
ffd2c2fc1e
commit
ec4224893b
2 changed files with 15 additions and 1 deletions
|
|
@ -408,7 +408,9 @@ function predicates.emergency_recipient(toast, container)
|
|||
local emergency_recipient_configured = false
|
||||
|
||||
for _, recipient in pairs(recipients.get_all_recipients()) do
|
||||
if recipient.minimum_severity >= alert_severities.emergency.severity_id then
|
||||
if recipients.isAlertsRecipient(recipient) and
|
||||
not recipients.isBuiltinRecipient(recipient) and
|
||||
recipient.minimum_severity >= alert_severities.notice.severity_id then
|
||||
emergency_recipient_configured = true
|
||||
break
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue